Recent content by Cecil

  1. Cecil

    Comment PNG Image display issue.

    Using the image control object in. winform also overcome the issues.
  2. Cecil

    Comment PNG Image display issue.

    OE 12.8 64bit and OE 11.7 32bit are not effected with the PNG corruption, So, far for me only 11.7 64bit is effected by the PNG interlacing issue.
  3. Cecil

    Comment PNG Image display issue.

    Hi Guys, Just want to share an issue that I had experienced and managed to resolve. I'm displaying a PNG image that was dynamically generated by a 3rd party software and I was experiencing a rendering issue when using the IMAGE widget. Progress KBASE showed that this was a known issue...
  4. Cecil

    Using .Net web front end connecting to classic appserver

    Not sure about Classic AppServer, but should be able to do this via Classic WebSpeed, Unless you are referring to Internet Adapter for AppServer. https://docs.progress.com/bundle/openedge-classic-appserver-administration-117/page/AppServer-Internet-Adapter.html
  5. Cecil

    How to create a pdf form with image logo header in progress 4gl.

    I was paying around with Editable PDF forms created by wkHTMLtoPDF and it seems that it semi-works in Edge/Chrome but does not work in Adobe Acrobat Reader. Searching around the inter-webs, it seems that Adobe won't allow updating of editable PDF forms unless you use an Adobe product to create...
  6. Cecil

    How to create a pdf form with image logo header in progress 4gl.

    Sample code using wkhtmltopdf available here: GitHub - Jimbobnz/ABLwkHTMLtoPDF: Using wkHTMLtoPDF in the ABL Download and install the wkhtmltopdf from the website (Linux or Windows). Expected output would be like this :
  7. Cecil

    How to create a pdf form with image logo header in progress 4gl.

    It's been awhile, but I have used both PDFInculde http://www.oehive.org/pdfinclude.html and HTMLtoPDF wkhtmltopdf to Create PDF. Personally I like wkHTMLtoPDF
  8. Cecil

    Get month name when input month number

    Or for something completlly different.: using System.*. using System.Globalization.*. define variable monthNumber as integer no-undo. define variable monthName as character no-undo. assign monthNumber = 3 // Example month number monthName =...
  9. Cecil

    Comment ABL Toast Notifications

    Not being a Mac user, I think this is the equivalent to the Windows Toast Notification.
  10. Cecil

    How to vaildate a zip file, before post to API

    will you still be doing server side validation of the zip file? if the users front end application is web based, you could use javascript libraries to inspect the zip file before posting to the api.
  11. Cecil

    Comment ABL Toast Notifications

    I have some proof of concept working with custom URI sachems by executing a bat file. But, what I was really looking for wa finding out how to trigger the "OnActive" event within the current ABL application. I think I'm just gonna have to chalk this down to one of the limitations of the ABL...
  12. Cecil

    Comment ABL Toast Notifications

    I was exploring the possibility of using Windows' API of using Toast Notification and this is what I was able to create. I've included some dirty code as a proof of concept. using Microsoft.Toolkit.Uwp.Notifications.*. using System.*. using System.DateTimeOffset.*. block-level on error...
  13. Cecil

    How to vaildate a zip file, before post to API

    Another possible alternative would be to use ABL .NET This code will open a ZIP and loop through each file entry within ZIP file. Please note that is does require the use of the assemblies.xml file update to include System.IO.Compression and System.IO.Compression.FileSystem. using...
  14. Cecil

    Resolved OpenEdge HTTP client using Auto Detect Proxy

    Took me a little while to figure out but thanks to ChatGPT. method public static logical ProxyAutoDetection(input BaseURI as character ): define variable ProxyServerURI as character no-undo. define variable BypassedProxy as logical no-undo. define...
  15. Cecil

    Progress with XML or JSON ?

    I have recently seen some APIs that output the XML or JSON content base on the "Accept" HTTP header in the client web request.
Top