>Thanks a lot for the reply. I tried to use this class (did you mean the
>ShellWindowsClass ? ), but did not understand how can I find the web address
>of the open browser. Can you please assist with me directions?
Check the LocationURL property.
foreach (InternetExplorer ie in new ShellWindows())
{
Console.WriteLine(ie.LocationURL);
}
Note that this will also list Explorer windows.
Mattias

Signature
Mattias Sjögren [C# MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
Tal Shachar - 06 Nov 2006 17:26 GMT
Mattias,
Thanks a million for that!!! It is exactly what I needed.
Btw, is it an option to know which of the open browsers is the active one or
the last one that the user browsed (not necessarily the last one that was
opened)?
Thanks again, appreciate your help!
- Tal
> >Thanks a lot for the reply. I tried to use this class (did you mean the
>>ShellWindowsClass ? ), but did not understand how can I find the web
[quoted text clipped - 11 lines]
>
> Mattias