Is it possible to subscribe to IE process. Anytime an Internet Explorer window is opened i would like to get an event triggered in windows form/console app.
Is it possible to subscribe to IE process. Anytime an Internet Explorer window is
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Normally you could use a windows hook to do something like this but the only hooks supported in the .net framework are mouse and keyboard events. Refer to this article for what I mean:
http://support.microsoft.com/kb/318804
So what you could do is just periodically poll the running processes on the machine by using this call:
That should get you started.