>>Hi Dmitry,
>>
>>What are the chances that there's a stray "SET LIBRARY TO" with no parameters somewhere in the code? That could cause your previously DECLARE'd ShellExecute to be un-declared which VFP would interpret as a missing ShellExecute.prg. That would also explain why it works some of the time, but not others.
>
>How SET LIBRARY TO affects DLLs?
>Maybe you meant CLEAR DLLS?
>
>Yes ... myy apologies .. that's what I was thinking.
Sorry Erik,
I didn't meant to be rude.
I just wanted to clarify just if somebody read this thread after a while
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.