How do I tell a process to watch for exit? Process.WatchForExit = true does not work in Visual Studio VB.NET
Posted on 2008-06-25
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