<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.0.1" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>

<channel>
	<title>Stanimir Stoyanov's Blog</title>
	<link>http://stoyanoff.info/blog</link>
	<description></description>
	<pubDate>Mon, 21 Jul 2008 21:35:50 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.1</generator>
	<language>en</language>
			<item>
		<title>Internet Explorer URL Crawler</title>
		<link>http://stoyanoff.info/blog/code/ie-url-crawler/</link>
		<comments>http://stoyanoff.info/blog/code/ie-url-crawler/#comments</comments>
		<pubDate>Fri, 17 Feb 2006 17:35:41 +0000</pubDate>
		<dc:creator>Stanimir Stoyanov</dc:creator>
		
	<category>Windows Vista</category>
		<guid isPermaLink="false">http://www.stoyanoff.info/blog/internet-explorer-url-crawler/</guid>
		<description><![CDATA[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&#8217;s EnumWindows, FindWindowEx, GetClassName and SendMessage functions which are [...]]]></description>
			<content:encoded><![CDATA[<p>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 <strong>IEFrame</strong>), accessing the address bar control programatically and then invoking its text (which is the actual URL).</p>
<p>The mentioned APIs are User32.Dll&#8217;s <a href="http://msdn.microsoft.com/library/en-us/winui/winui/windowsuserinterface/windowing/windows/windowreference/windowfunctions/enumwindows.asp">EnumWindows</a>, <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/windowing/windows/windowreference/windowfunctions/findwindowex.asp">FindWindowEx</a>, <a href="http://msdn.microsoft.com/library/en-us/winui/winui/windowsuserinterface/windowing/windowclasses/windowclassreference/windowclassfunctions/getclassname.asp">GetClassName</a> and <a href="http://msdn.microsoft.com/library/en-us/winui/winui/windowsuserinterface/windowing/messagesandmessagequeues/messagesandmessagequeuesreference/messagesandmessagequeuesfunctions/sendmessage.asp">SendMessage</a> functions which are used to find the appropriate windows and get the URLs (<a href="http://msdn.microsoft.com/library/en-us/winui/winui/windowsuserinterface/windowing/messagesandmessagequeues/messagesandmessagequeuesreference/messagesandmessagequeuesfunctions/sendmessage.asp">SendMessage</a> is used to get the address bar&#8217;s text).</p>
<blockquote><p>The source code is available <a title="IE URL Crawler Source Code" href="/code/IECrwlr.cs" target="_blank"><strong>here</strong></a>.</p></blockquote>
<p><em>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.</em>
</p>
]]></content:encoded>
			<wfw:commentRSS>http://stoyanoff.info/blog/code/ie-url-crawler/feed/</wfw:commentRSS>
		</item>
	</channel>
</rss>
