*ShellX.prg: *To use: * *lcProg = 'Yourpath\yourprog.exe' *lcPar = 'some parameters' && Drop this line if no parameters *ShellX(lcProg, lcPar) Lparameters tcURL, tcParameter if empty(tcParameter) tcParameter = '' Endif #define SW_HIDE 0 #DEFINE SW_SHOWNORMAL 1 #DEFINE SW_SHOWMINIMIZED 2 #DEFINE SW_SHOWMAXIMIZED 3 *!* Legal verbs: open, edit, print, find, explore, NULL DECLARE INTEGER ShellExecute IN shell32.dll ; INTEGER hndWin, STRING cAction, STRING cFileName, ; STRING cParams, STRING cDir, INTEGER nShowWin ShellExecute( 0, "open", tcURL, tcParameter , "", SW_SHOWNORMAL )