>OLE error code 0x"name" (Error 1426)
> and tons of
>WITH/ENDWITH mismatch (Error 1939)
>Expression is not valid outside of WITH/ENDWITH (Error 1940)
Have you tried deleting your EXE and checking "recompile all" before recompiling?
Those "WITH/ENDWITH mismatch errors" make me think that your EXE does not have the same source code as the one that you are running from within VFP.
The problem sounds weird...I hope this helps.
Hector Correa