<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments for Mike McCabe's Test Blog</title>
	<atom:link href="http://mikemccabe.wordpress.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://mikemccabe.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Fri, 14 Aug 2009 17:51:06 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Running IE from C# in a separate process by Brian</title>
		<link>http://mikemccabe.wordpress.com/2007/04/14/running-ie-from-c-in-a-separate-process/#comment-7</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Fri, 14 Aug 2009 17:51:06 +0000</pubDate>
		<guid isPermaLink="false">http://mikemccabe.wordpress.com/2007/04/14/running-ie-from-c-in-a-separate-process/#comment-7</guid>
		<description>Great post...

Now, i tell you my problem (i expect that you can help me and sorry for my english).

I&#039;m using SHDocVw.ShellWindows to get external InternetExplorer instances. 

It works fine on my develop machine (Windows Server 2003 Sp2), but when i deploy it to server (Windows Server 2003 Sp2) then it fails throwing the exception:

System.OutOfMemoryException: Retrieving the COM class factory for component with CLSID {9BA05972-F6A8-11CF-A442-00A0C90A8F39} failed due to the following error: 8007000e.

It means that Access is Denied (i&#039;m don&#039;t have any idea that permissions have to set and where set it).

I think your post and you can help me. Do you know another way than ShellWindows use to get it? Or, do you know how to use Activator to get running instances from IE?

There is the code that i&#039;m using for this:

SHDocVw.ShellWindows shellWindows = new SHDocVw.ShellWindowsClass();

            foreach (SHDocVw.InternetExplorer ie in shellWindows)
            {
                filename = Path.GetFileNameWithoutExtension(ie.FullName).ToLower();

                if (filename.Equals(&quot;iexplore&quot;))
                {
                    if (ie.HWND == mainWindowHandle.ToInt32())
                    {
                        try
                        {
                            ie.DocumentComplete += new DWebBrowserEvents2_DocumentCompleteEventHandler(oExplorerInstance_DocumentComplete);
}
                        catch
                        {
                            //Exception thrown code;
                        }

                        break;
                    }
                }
            }</description>
		<content:encoded><![CDATA[<p>Great post&#8230;</p>
<p>Now, i tell you my problem (i expect that you can help me and sorry for my english).</p>
<p>I&#8217;m using SHDocVw.ShellWindows to get external InternetExplorer instances. </p>
<p>It works fine on my develop machine (Windows Server 2003 Sp2), but when i deploy it to server (Windows Server 2003 Sp2) then it fails throwing the exception:</p>
<p>System.OutOfMemoryException: Retrieving the COM class factory for component with CLSID {9BA05972-F6A8-11CF-A442-00A0C90A8F39} failed due to the following error: 8007000e.</p>
<p>It means that Access is Denied (i&#8217;m don&#8217;t have any idea that permissions have to set and where set it).</p>
<p>I think your post and you can help me. Do you know another way than ShellWindows use to get it? Or, do you know how to use Activator to get running instances from IE?</p>
<p>There is the code that i&#8217;m using for this:</p>
<p>SHDocVw.ShellWindows shellWindows = new SHDocVw.ShellWindowsClass();</p>
<p>            foreach (SHDocVw.InternetExplorer ie in shellWindows)<br />
            {<br />
                filename = Path.GetFileNameWithoutExtension(ie.FullName).ToLower();</p>
<p>                if (filename.Equals(&#8220;iexplore&#8221;))<br />
                {<br />
                    if (ie.HWND == mainWindowHandle.ToInt32())<br />
                    {<br />
                        try<br />
                        {<br />
                            ie.DocumentComplete += new DWebBrowserEvents2_DocumentCompleteEventHandler(oExplorerInstance_DocumentComplete);<br />
}<br />
                        catch<br />
                        {<br />
                            //Exception thrown code;<br />
                        }</p>
<p>                        break;<br />
                    }<br />
                }<br />
            }</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Running IE from C# in a separate process by Mihai</title>
		<link>http://mikemccabe.wordpress.com/2007/04/14/running-ie-from-c-in-a-separate-process/#comment-5</link>
		<dc:creator>Mihai</dc:creator>
		<pubDate>Thu, 26 Feb 2009 02:16:21 +0000</pubDate>
		<guid isPermaLink="false">http://mikemccabe.wordpress.com/2007/04/14/running-ie-from-c-in-a-separate-process/#comment-5</guid>
		<description>I was hoping this would help alleviate an issue with ShellWindows. I want to start and destroy IE processes in a clean, isolated manner. ShellWindows along with a Process.Start, had it worked when running the process under alternate credentials (Run As), would have made this a done deal.

I want Process.Kill because the browser may hang and refuse to Quit.

Unfortunately, with your solution, Process.Kill kills a previously open IE window along with my newly open window, which means that your method will reuse an existing IE process if one already exists.</description>
		<content:encoded><![CDATA[<p>I was hoping this would help alleviate an issue with ShellWindows. I want to start and destroy IE processes in a clean, isolated manner. ShellWindows along with a Process.Start, had it worked when running the process under alternate credentials (Run As), would have made this a done deal.</p>
<p>I want Process.Kill because the browser may hang and refuse to Quit.</p>
<p>Unfortunately, with your solution, Process.Kill kills a previously open IE window along with my newly open window, which means that your method will reuse an existing IE process if one already exists.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Adding inter-project file references in Visual Studio 2005 by Michael Debono</title>
		<link>http://mikemccabe.wordpress.com/2008/12/13/adding-inter-project-file-references-in-visual-studio-2005/#comment-4</link>
		<dc:creator>Michael Debono</dc:creator>
		<pubDate>Sun, 04 Jan 2009 14:19:48 +0000</pubDate>
		<guid isPermaLink="false">http://mikemccabe.wordpress.com/?p=14#comment-4</guid>
		<description>There is a small drop down arrow near the Add button in the dialog box, and you can choose Add as Link.</description>
		<content:encoded><![CDATA[<p>There is a small drop down arrow near the Add button in the dialog box, and you can choose Add as Link.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on A simple fix I wish I&#8217;d known by quakeboy</title>
		<link>http://mikemccabe.wordpress.com/2007/03/17/a-simple-fix-i-wish-id-known/#comment-3</link>
		<dc:creator>quakeboy</dc:creator>
		<pubDate>Thu, 25 Sep 2008 08:45:45 +0000</pubDate>
		<guid isPermaLink="false">http://mikemccabe.wordpress.com/2007/03/17/a-simple-fix-i-wish-id-known/#comment-3</guid>
		<description>Thanks
it helped me..

Why did u stop blogging such things...
It helped atleast a thousand other developers world wide and becomes inspiration and encourages others to blog as well..</description>
		<content:encoded><![CDATA[<p>Thanks<br />
it helped me..</p>
<p>Why did u stop blogging such things&#8230;<br />
It helped atleast a thousand other developers world wide and becomes inspiration and encourages others to blog as well..</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Sending email with Squirrelmail, via wget by David Emerson</title>
		<link>http://mikemccabe.wordpress.com/2007/08/07/sending-email-with-squirrelmail-via-wget/#comment-2</link>
		<dc:creator>David Emerson</dc:creator>
		<pubDate>Sat, 01 Dec 2007 23:42:35 +0000</pubDate>
		<guid isPermaLink="false">http://mikemccabe.wordpress.com/2007/08/07/sending-email-with-squirrelmail-via-wget/#comment-2</guid>
		<description>my server requires https ;-)

very useful, thanks!</description>
		<content:encoded><![CDATA[<p>my server requires https <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>very useful, thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Hello world! by Mr WordPress</title>
		<link>http://mikemccabe.wordpress.com/2007/03/10/hello-world/#comment-1</link>
		<dc:creator>Mr WordPress</dc:creator>
		<pubDate>Sat, 10 Mar 2007 02:16:31 +0000</pubDate>
		<guid isPermaLink="false">#comment-1</guid>
		<description>Hi, this is a comment.&lt;br /&gt;To delete a comment, just log in, and view the posts&#039; comments, there you will have the option to edit or delete them.</description>
		<content:encoded><![CDATA[<p>Hi, this is a comment.<br />To delete a comment, just log in, and view the posts&#8217; comments, there you will have the option to edit or delete them.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
