I can use Their hwnd lists all running processes, but I can’t list all the tabs opened in IE8 or Firefox, only the active tabs.
It is best in VB10 Visual Studio 2010
For Each j As SHDocVw.InternetExplorer In New SHDocVw.ShellWindowsClass()
If j.Name = "Windows Internet Explorer" Then
ListView1. Items.Add(j.LocationName)'j.HWND will return the handle
End If
Next
Is there a way to list IE8 and Firefox The text displayed in each tab is used as part of the running process list and handle.
I can use their hwnd to list all running processes, but I can’t list them in IE8 or All tabs opened in Firefox, only the active tabs are listed.
It is best to be in VB10 Visual Studio 2010
For IE, first add a COM reference to Microsoft Internet Controls, and then use the following code:
For Each j As SHDocVw.InternetExplorer In New SHDocVw.ShellWindowsClass()
If j.Name = "Windows Internet Explorer" Then
ListView1.Items.Add(j.Loc ationName)'j.HWND will return the handle
End If
Next