Advertisement

06.25.2008 at 12:52PM PDT, ID: 23515962
[x]
Attachment Details

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

Asked by logoncom in Visual Studio 2008, Microsoft Visual Basic.Net

Tags: 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
Start Free Trial
[+][-]06.25.2008 at 01:07PM PDT, ID: 21869368

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Visual Studio 2008, Microsoft Visual Basic.Net
Tags: VB.NET
Sign Up Now!
Solution Provided By: emoreau
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628