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 =...
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.
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...
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...
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...
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...
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
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...
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.