VictorFRodriguez
Programmer
I would like to install an application and want to include in it the link to where it is installed. I used VFP6.
Victor F. Rodriguez
Victor F. Rodriguez
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.
#DEFINE CLSCTX_INPROC_SERVER 0x1
CLSID_ShellLink = '{00021401-0000-0000-C000-000000000046}'
IID_IShellLink = '{000214EE-0000-0000-C000-000000000046}'
ipShellLink = 0
DECLARE LONG CoCreateInstance IN ole32.dll ;
STRING @ REFCLSID_rclsid, ;
LONG LPUNKNOWN_pUnkOuter, ;
LONG DWORD_dwClsContext, ;
STRING @ REFIID_riid, ;
LONG @ LPVOID_ppv
hRes = CoCreateInstance( CLSID_ShellLink, 0, 1, ;
IID_IShellLink, ;
@ipShellLink)