Maybe this can help you, make a app2.bat file underr c:\
in the bat file type: pause
Save the file
then put a button on a form and add this to the forms click event
Shell("c:\app2.bat", AppWinStyle.NormalFocus, True)
MsgBox("App2 finished")
I think this is what you want
hth Peter
--
Programming today is a race between software engineers striving to build
bigger and better idiot-proof programs, and the Universe trying to produce
bigger and better idiots. So far, the Universe is winning.
"Daniel" <da****@madridmadridsoleado.com> schreef in bericht
news:uR**************@TK2MSFTNGP14.phx.gbl...
Hi group,
I have a solution with 2 apps. When i run 1 of the apps it starts by
checking for a file. If the file does not exist, it runs the other app
in the solution that generates the file.
This all works fine.
However, what I would like is that the 1st app runs the 2nd and then
freezes until it detects that the 2nd app exits. Is this possible?
--
Daniel
MCSE, MCP+I, MCP in Windows 2000/NT
--------------------------------------
remove the 2nd madrid from my mail address to contact me.