Solved

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
1
856 Views
Last Modified: 2013-11-26
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
0
Comment
Question by:logoncom
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 500 total points
ID: 21869368
have a look at "Wait for a launched process to end" from http://www.emoreau.com/Entries/Articles/2003/12/The-Process-component.aspx
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
What are MicroServices? 4 67
.NET Redemption/Outlook Examples 3 29
Open telerik datetime picker programmatically 13 42
Datagridview column resizing 8 25
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question