Hi,
in an other language I use the windows api function :
ShellExecuteA( hwnd, lpOperation, lpFile, lpParameters , lpDirectory, nShowCmd )
How can I open a file in B4J with the associated program without knowing name and location of the program.
Thanks
in an other language I use the windows api function :
ShellExecuteA( hwnd, lpOperation, lpFile, lpParameters , lpDirectory, nShowCmd )
B4X:
ulong nShowCmd = 1 // Normal open
setNull(lpOperation)
ShellExecuteA( hwnd, lpOperation, "c:\mydoc\test.doc", "" , "", nShowCmd )
How can I open a file in B4J with the associated program without knowing name and location of the program.
Thanks