>Did you try it (the same for sys(16)) as a dll? I mean: you call the dll from an exe. In that case, the exe will not be (probably) VFP6.EXE. It's different in runtime env vs. development env.
>
>For a (probably) complete discussion and code on this issue, check Rick Strahl's "Tips for Tracing the Startup Path of an Application" in FPA Dec/97.
>
>Vlad
>
>>Nope. Returns VFP6.EXE
Hmmm...I'll try that. The component will be running in MTS.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer