>>I use bp.prg and go.prg programs for all my apps. "do bp" to build program, and "do go" to run it no matter the project name or executable.
>
>In that case, you're running with VFP9 IDE's privileges that were set when it was launched. If you want to execute a program with elevated access, you can't DO it.
You can also
This.oVfp=Createobject("visualfoxpro.application")
and then
This.oVfp.DoCmd(Textmerge([build EXE "<<tcexe>>" from "<<tcpjx>>"]))
But you still need that elevator to start from.