Listing Tabs in IE8 and Firefox

Is there a way to list the text that appears on each tab in IE8 and Firefox, as part of a list of running processes along with a handle.

I can list all running processes using my hwnd, but I can not list all the tabs open in IE8 or Firefox, only the active tab.

Preferably in VB10 Visual Studio 2010

+4
source share
1 answer

For IE, first add the COM link to Microsoft Internet Controls , 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.LocationName) 'j.HWND will return the handle End If Next 
+1
source

All Articles