Make it into EXE and launch using SHELLEXECUTE(). See
Re: Calling a VFP.EXE using ShellExecute Message #
961236>Is there a way to startup another instance of VFP?
>
>I need to do this from within a compiled EXE as well as within the development version.
>
>If I attempt to do a RUN and add the vfp9.exe to it, it just flashes and stays within the same version I have running. I actually want to startup another copy and pass a parameter (program) that I want it to run.
>
>I can't run it from within the application I'm running because it will never (as in I don't want it to) return to the current running process unless they select it from the task bar in Windows.
>
>Would this be different if I were running EXE's?
--sb--