Hi Jon,
Maybe I'm missing something but you cannot instantiate VFP as automation server on PC where VFP is not installed.
Anyway, the problem isn't in your code. Th error comes from the called .NET EXE.
>
>I'm not using it. The other developer's .NET executable is instantiating VFP to run a stored proc because the stored proc contains commands that are not supported by the OLEDB driver. After he's done, I believe he's using _vfp.quit() to end the instantiation. I haven't seen his source code so I can't tell you exactly what he's doing. All I care about is being able to run his executable successfully within my VFP method code and then do whatever housecleaning I need to do afterwards.
>
>Like I said, this error is only happening on a dev machine where VFP is installed.
>
--sb--