>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 ment CLEAR DLLS?
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.