I have an existing code that was working fine in all previous version of Windows expect
`Windows 8` (and not working in one
`Windows Server 2008` machine, but working in another Win2008 machine.
Dim
SWs
As
New
SHDocVw.ShellWindows
Dim
IE
As
SHDocVw.InternetExplorer
For
Each
IE
In
SWs
If
IE.Name =
"Windows Internet Explorer"
Then
' ignore empty name
If
IE.LocationName <>
""
Then
' ignore about tabs
If
IE.LocationURL <>
"about:Tabs"
Then
' ignore about blank
If
IE.LocationURL <>
"about:blank"
Then
' save the data somewhere...
Debug.Print (IE.LocationName &
", URL="
& IE.LocationURL)
MsgBox (IE.LocationName &
", URL="
& IE.LocationURL)
End
If
End
If
End
If
End
If
Next
While debugging in `
Windows 8` machine, found that only
`Windows Explorer` (`explorer.exe`) windows are detected, not
IE windows (`iexplore.exe`).
Is there any permission or flag to be set in these machines ?