Hi Bob,
If WSH is not an option, you can use
API_APPRUN in .VCX form File #
9477>In a VFP 7 program I have a RUN command that executes a VB EXE
>
>RUN abc..exe
>
>When I test this from the VFP desktop by running the form that contains the RUN command, then the RUN command waits for the EXE to complete, and it always works correctly.
>
>However, when the VFP is compiled into an EXE, then it does not always wait, but the VFP application continues execution, while the VB EXE is waiting for input with it's form displaying.
--sb--