If you're only interested in IE it may be better to use the COM APIs
in Shdocvw.dll. If you Tlbimp it you can write code like this to dump
info on all IE (and Windows Explorer) windows.
Dim ie As InternetExplorer
For Each ie In New ShellWindows()
Console.WriteLine(ie.HWND)
Console.WriteLine(ie.LocationName)
Console.WriteLine(ie.LocationURL)
Next
--
Get a powerful web, database, application, and email hosting with KJM
Solutions
http://www.kjmsolutions.com
"Michael Fällgreen" <mf*@ulle.se> wrote in message
news:u%****************@TK2MSFTNGP05.phx.gbl...
Is there any way to get an instance of an running IE and read the url the
browser is displaying?
Thanks