Link to home
Start Free TrialLog in
Avatar of logoncom
logoncom

asked on

How do I tell a process to watch for exit? Process.WatchForExit = true does not work in Visual Studio VB.NET

I have an application that opens another applicaton using Process.start() and when that process ends, I want my application to do something.  The Exited Event does not work and The WatchForExit = true does not exist contrary to the popup notes in visual studio 2008 if you hover your mouse over the exited event area.

Can someone help me?  Is this possible and if so, how do I put it in code?

1.  Start the Process
2. When the Process ends / closes  then do something
ASKER CERTIFIED SOLUTION
Avatar of Éric Moreau
Éric Moreau
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial