> We have a number of clients with our VFP compile executable and we give them the ability to launch documents whos path is stored in the database.
>
> We use the following code:
>
>
> FUNCTION Launch
> LPARAMETERS cURL
>
> DECLARE INTEGER ShellExecute IN shell32.dll ;
> INTEGER hndWin, STRING cAction, STRING cFileName, ;
> STRING cParams, STRING cDir, INTEGER nShowWin
>
> _screen.WindowState=1
>
> ShellExecute(0,"open",cURL,"","",1)
>
> This works 99% of the time. However, every now again and from different companies using our program, we get the following error:
>
> Error message: Variable ' 103' is not found.
>
> This occurs on the Shellexecute line. I have no idea what 103 is and it is nothing we are passing.
>
> Any ideas?
>
> Cheers
> David Younger
What is cURL value when the error occurs?