Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
LOCAL lnRetval, lcFile, lcOperation
lcFile = "C:\My Documents\Win32api.doc"
* Right click a file in Windows Explorer to see what other
* operations are available, for example Print
lcOperation = "Open"
DECLARE INTEGER ShellExecute IN SHELL32.DLL ;
INTEGER handle,;
STRING @sFile,;
STRING @lp,;
STRING @dir,;
STRING @dir1,;
INTEGER ncmd
lnRetval = ShellExecute(0, lcOperation, lcFile, "", "", 1)
* Error codes returned by ShellExecute:
* lnRetval = ...
* 2 - Bad Association (e.g., invalid URL)
* 31 - No application association
* 29 - Failure to load application
* 30 - Application is busy