Search results

  1. JamesBowen

    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...
  2. JamesBowen

    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
  3. JamesBowen

    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...
  4. JamesBowen

    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 :
  5. JamesBowen

    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
  6. JamesBowen

    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 =...
  7. JamesBowen

    Comment ABL Toast Notifications

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

    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.
  9. JamesBowen

    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...
  10. JamesBowen

    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...
  11. JamesBowen

    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...
  12. JamesBowen

    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...
  13. JamesBowen

    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.
  14. JamesBowen

    Question How do I use Windows Hello Authentication (Windows.Security.Credentials)

    I've given up trying to use the Windows Hello / Password. I don't know how to implement this into the ABL.
  15. JamesBowen

    Question How do I use Windows Hello Authentication (Windows.Security.Credentials)

    Thanks for your feedback. It looks like i might have use an intermediary an SDK to do what I want to do. Windows.Security.Credentials.UI https://stackoverflow.com/questions/66197373/how-to-include-windows-security-credentials-ui-namespace-into-c-sharp-project
  16. JamesBowen

    Question How do I use Windows Hello Authentication (Windows.Security.Credentials)

    Windows 10: OpenEdge 12.8. This is my code and I want to start using the "Windows Hello" as a form of Authenticator using biometrics and or PIN code. using Progress.Lang.*. using Windows.Security.Credentials.*. block-level on error undo, throw. class ABLWindowsHello: method public...
  17. JamesBowen

    Answered How do I use the .NET System.IO.Compression Namespace and it's classes?

    Nearly 10 years later, I've finally written a .NET zip routine that will ZIP the contents of a folder. In this example the Session Temp Directory is copied into a zip file and skipping the files that are in use. block-level on error undo, throw. using System.IO.Compression.CompressionLevel...
  18. JamesBowen

    Question How to receive a handle in an External Procedure

    you might be able to get away with an integer data type. do you have any more documentation you can share of what you’re trying to achieve?
  19. JamesBowen

    Question How to receive a handle in an External Procedure

    It's been awhile since I've done any DLL stuff, but I belive that handles can be stored a LONG data types. Example: PROCEDURE fInitEncoder EXTERNAL "WEBTAEncoderLib.dll": DEFINE input PARAMETER p-FileName AS Character. DEFINE input PARAMETER p-Director AS Character. DEFINE input PARAMETER...
  20. JamesBowen

    Question Error “System.ObjectDisposedException: Cannot access a disposed object.”

    Manged to get a solution ( feels like a hack). Had to change a few things to get the right combination. Removed all code from the destructor class object in side the win form. Any ABL code inside the destructor was just causing issues. All the code that was originally inside the destructor had...
Back
Top