troubleshooting Question

Enumerate all running instances of IE

Avatar of raheelasadkhan
raheelasadkhanFlag for Pakistan asked on
7 Comments1 Solution961 ViewsLast Modified:

I want to enumerate through all running instances of IE on the local machine. During each iteration, I want to be able to access the Web Browser elements such as URL, current HTML DOM, etc.

I know about IE Automation but would like some guidance on how to approach this task. Enumerating through running instances would probably involve iterating running processes and identifying iexlorer instances. Then iterate through each thread of each instance? If you launcg IE directly from the shell, it opens in a seperate process whereas opening new IE windows from within current IE windows probably creates a thread or something.

Next obstacle is to somehow cast those windows to a WebBrowser control? Is this even possible? If not, I am sure there must be another way to access the windows IE object model.


Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 7 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 7 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros