This console application uses native Win32 APIs to get the URLs for all open Internet Explorer windows. This is done by finding all appropriate window (whose class name is IEFrame), accessing the address bar control programatically and then invoking its text (which is the actual URL).
The mentioned APIs are User32.Dll’s EnumWindows, FindWindowEx, GetClassName and SendMessage functions which are used to find the appropriate windows and get the URLs (SendMessage is used to get the address bar’s text).
The source code is available here.
Note: This application has not been tested with Internet Explorer 7; I intend to do so in the next few days and will edit the code accordingly, if necessary.
3 Responses to “Internet Explorer URL Crawler”
Leave a Reply
Search
About |
Currently, he is administering AeroXperience and coding using Visual Studio 2008 on Windows 7.
Latest
- Encoding uncompressed audio with FLAC in C#
- Indicating progress in console windows
- 2010
- Windows 7 – Какво ново?
- Most Valuable Professional and what’s to come
- Tweak DWM from your programs, Part 3
- Tweak DWM from your programs, Part 2
- Tweak DWM from your programs, Part 1
- Windows Vista Language Packs Released
- Windows Sidebar Styler, v2.0.6

I like ur code about Get URLs from IE..
& Its really useful to me..
But I have some different requirement…
I want to get only those URLs which is really surfed in the explorer. means, I don’t want title or URL like “about:blank” .. so what should i do for that..
please help me..
Thanking you….
Praful, what information exactly would you like to get from Internet Explorer?
wat information, whats ur email so i will send you url praful.