TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
kbhamber
NA
11
0
Process question
Mar 16 2005 3:02 PM
I was trying to launch IE using Process class in .NET. I wanted to get notified when IE is closed. I subscribed to exited event in Process class. When I close IE manually the event handler is never called. What I am doing wrong here? The following is the code: private void button1_Click(object sender, System.EventArgs e) { string file = @"IExplore.exe"; ProcessStartInfo si = new ProcessStartInfo( file ); process.StartInfo = si; process.Start(); process.Exited += new EventHandler(process_Exited); } private void process_Exited(object sender, EventArgs e) { } Thanks in advance
Reply
Answers (
1
)
Opening a new Window from a dying Thread
How to terminate a suspended thread ?