Another option:
Re: Halt app while external program runs Thread #
903008 Message #
903199>Is there a way to make VFP wait until the "launch.exe" program terminates in the code shown? (Sort of like the way RUN works by default)
>
>DECLARE INTEGER ShellExecute IN "Shell32.dll" ;
> INTEGER hwnd, ;
> STRING lpVerb, ;
> STRING lpFile, ;
> STRING lpParameters, ;
> STRING lpDirectory, ;
> LONG nShowCmd
>
>=Shellexecute(0,"Open","launch.exe","","F:\Develop\Tarma\iePoint2007CD\",0)
.·*´¨)
.·`TCH
(..·*
010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"