start a program in a vb.net program

A

andrews

With System.Diagnostics.Process.Start(ProgramPath) I can start a program X
in a vb.net program
Can I also dedect and how in this vb.net program that X is closed?
Thanks for any response
 
K

kimiraikkonen

Yes. Look athttp://msdn2.microsoft.com/en-us/library/system.diagnostics.process.e....

You can wait till the process finishes its work and finishes using:

yourprocess.WaitForExit()
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top