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
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,