troubleshooting Question

Browser Enumeration

Avatar of DixieKMan
DixieKManFlag for United States of America asked on
Web Browsers
12 Comments1 Solution217 ViewsLast Modified:
Hello All,
I have a question regarding enumeration of explorer windows.

I currently can enumerate all open explorer windows with SHDocVw.ShellWindows, however, once enumerated, how can I track those specific windows, as I cannot store the hWnd. (see below)

Dim SWs As New SHDocVw.ShellWindows
Dim IE As SHDocVw.InternetExplorer

        For Each IE In SWs
        'SWs enumerate the Shell Windows
            Set Doc = IE.Document
            If TypeOf Doc Is HTMLDocument Then
                  List1.AddItem IE.LocationURL
            End If

the locationURL and locationName are dynamic and will change after any navigation.

I need to open an internet explorer and track that specific explorer, even if another is opened with the same address.

Any help would be most appreciated,

Join our community to see this answer!
Unlock 1 Answer and 12 Comments.
Start Free Trial
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 12 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