Open the “Open with ” Dialog ...
Posted: Wed May 21, 2025 4:08 pm
If the user should be able to open a file and select the program himself ....
Code: Select all
Procedure OpenFileWithAppFromList(FileName.s)
If FileSize(FileName) > -1
RunProgram("Rundll32.exe", "shell32.dll,OpenAs_RunDLL "+FileName, GetPathPart(FileName))
EndIf
EndProcedure
OpenFileWithAppFromList("C:\Temp\GX_Test_00.bmp") ; <= change this filename to an existing one.