Recent content by Cecil

  1. 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.
  2. Cecil

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

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

    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...
  5. Cecil

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

    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?
  7. Cecil

    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...
  8. Cecil

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

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

    I've seen this in a Kbase. I hope it might fix it. @VisualDesigner. method private void UserAuthorisation_FormClosing( input sender as System.Object, input e as System.Windows.Forms.FormClosingEventArgs ): if valid-object(components) then cast(components...
  10. Cecil

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

    OE 11.7.15 Windows 64bit. I have a situation that I can't reproduce in my development environment, but I can in the UAT and Production. It quite simple. I call a .net WinForm .cls file and when the user clicks on the "Cancel" button inside the WinForm Button, I execute the Exit() method...
  11. Cecil

    How to write a xml file using break by

    I'm not quite sure what you are trying to do, but at a guess you want to have a separate XML output per site. Try this: FOR EACH tt_Woorder NO-LOCK BREAK BY tt_Woorder.tt_site: IF LAST-OF (tt_Woorder.tt_site) THEN DO: // DATASET dsproductionPlan:write-xml("file", lXmlPathName ,true, ...
  12. Cecil

    Answered Sending email from progress

    Hummm. This is interesting. OE 12.8 will support .NET v6 on Linux (excluding WinForms). So, in theory this code might work on Linux.
  13. Cecil

    Question calculate week number in "C"

    I'm not really a "C" developer, but I know that the Arduino language is a simplified version of "C". So, I Googled "Arduino Week Number" and found this. How to: Calculate Number of Week and Number of Day You might be able to 'lift and shift' the code and fit it to your requirements.
  14. Cecil

    Question calculate week number in "C"

    Have you tried ChatGPT?
  15. Cecil

    Question ABL Wordle Application

    Yeah. The Font and color are the things that are holding me back. I was thinking I could have developed a .NET GUI class object. But, my ABL skills were more proficient.
Top