It's not.
>I am not sure it WSH
>I am using the expressions below:
>Is it WSH ?
>
>
>FUNCTION Shell
>LPARAMETER lcLink, lcAction, lcParms, lcDir
>lcAction = IIF(EMPTY(lcAction), "Open", lcAction)
>lcParms = IIF(EMPTY(lcParms), "", lcParms)
>lcDir=IIF(empty(lcDir),"",lcDir)
>DECLARE INTEGER ShellExecute ;
> IN SHELL32.dll ;
> INTEGER nWinHandle, ;
> STRING cOperation, ;
> STRING cFileName, ;
> STRING cParameters, ;
> STRING cDir, ;
> INTEGER nShowWindow
>
>DECLARE INTEGER FindWindow ;
> IN WIN32API ;
> STRING cNull,STRING cWinName
>
>RETURN ShellExecute(FindWindow(0, _SCREEN.caption), ;
> @lcAction, @lcLink, ;
> @lcParms, @lcDir, 1)
If it's not broken, fix it until it is.
My Blog