Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

wait for a process to finish

Status
Not open for further replies.

Shift838

IS-IT--Management
Jan 27, 2003
987
US
When calling an external executable from vb.net how do you make the vb .net application to wait for the external executable to finish?
 

Another option, if you just need to wait for the external process to finish but don't need/want your application to continue executing until the process is done:

Process.WaitForExit()

Put that line right after Process.Start().


I used to rock and roll every night and party every day. Then it was every other day. Now I'm lucky if I can find 30 minutes a week in which to get funky. - Homer Simpson

Arrrr, mateys! Ye needs ta be preparin' yerselves fer Talk Like a Pirate Day!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top