<?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/"
		>
<channel>
	<title>Comments on: Making the webbrowser control synchronous</title>
	<atom:link href="http://gaskell.org/making-the-webbrowser-control-synchronous/feed/" rel="self" type="application/rss+xml" />
	<link>http://gaskell.org/making-the-webbrowser-control-synchronous/</link>
	<description>picking up where teh rest leave off</description>
	<lastBuildDate>Tue, 27 Mar 2012 02:02:23 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Paulo</title>
		<link>http://gaskell.org/making-the-webbrowser-control-synchronous/comment-page-1/#comment-14390</link>
		<dc:creator>Paulo</dc:creator>
		<pubDate>Thu, 16 Dec 2010 18:57:03 +0000</pubDate>
		<guid isPermaLink="false">http://gaskell.org/making-the-webbrowser-control-synchronous/#comment-14390</guid>
		<description>Best sync code:

    Private Sub DoEvents(ByRef pobj_WebBrowser As Windows.Forms.WebBrowser)

        Do
            Application.DoEvents()
        Loop While (pobj_WebBrowser.IsBusy = True) Or (pobj_WebBrowser.ReadyState  WebBrowserReadyState.Complete)

    End Sub</description>
		<content:encoded><![CDATA[<p>Best sync code:</p>
<p>    Private Sub DoEvents(ByRef pobj_WebBrowser As Windows.Forms.WebBrowser)</p>
<p>        Do<br />
            Application.DoEvents()<br />
        Loop While (pobj_WebBrowser.IsBusy = True) Or (pobj_WebBrowser.ReadyState  WebBrowserReadyState.Complete)</p>
<p>    End Sub</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paulo</title>
		<link>http://gaskell.org/making-the-webbrowser-control-synchronous/comment-page-1/#comment-14389</link>
		<dc:creator>Paulo</dc:creator>
		<pubDate>Thu, 16 Dec 2010 18:40:00 +0000</pubDate>
		<guid isPermaLink="false">http://gaskell.org/making-the-webbrowser-control-synchronous/#comment-14389</guid>
		<description>This code does&#039;nt work sometimes. &#039;cause the execution on slow CPUs jump this code! When the execution reach the &quot;while&quot; the Webbrowser is not navigating ...</description>
		<content:encoded><![CDATA[<p>This code does&#8217;nt work sometimes. &#8217;cause the execution on slow CPUs jump this code! When the execution reach the &#8220;while&#8221; the Webbrowser is not navigating &#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paulo</title>
		<link>http://gaskell.org/making-the-webbrowser-control-synchronous/comment-page-1/#comment-14388</link>
		<dc:creator>Paulo</dc:creator>
		<pubDate>Thu, 16 Dec 2010 18:32:13 +0000</pubDate>
		<guid isPermaLink="false">http://gaskell.org/making-the-webbrowser-control-synchronous/#comment-14388</guid>
		<description>If submit dont work, try:

WebBrowser1.Document.GetElementById(&quot;submit&quot;).InvokeMember(&quot;Click&quot;)</description>
		<content:encoded><![CDATA[<p>If submit dont work, try:</p>
<p>WebBrowser1.Document.GetElementById(&#8220;submit&#8221;).InvokeMember(&#8220;Click&#8221;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vijay</title>
		<link>http://gaskell.org/making-the-webbrowser-control-synchronous/comment-page-1/#comment-14386</link>
		<dc:creator>Vijay</dc:creator>
		<pubDate>Wed, 01 Dec 2010 07:43:08 +0000</pubDate>
		<guid isPermaLink="false">http://gaskell.org/making-the-webbrowser-control-synchronous/#comment-14386</guid>
		<description>But what happen when ready state in readyState_InteractiveClick

It is happen when filedownload box display and click on cancel button then ready state is readySate_InteractiveClick

How to get back in readyState_Completed

Please Help Me
Thanks In advaced
VJ</description>
		<content:encoded><![CDATA[<p>But what happen when ready state in readyState_InteractiveClick</p>
<p>It is happen when filedownload box display and click on cancel button then ready state is readySate_InteractiveClick</p>
<p>How to get back in readyState_Completed</p>
<p>Please Help Me<br />
Thanks In advaced<br />
VJ</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dale Wilson</title>
		<link>http://gaskell.org/making-the-webbrowser-control-synchronous/comment-page-1/#comment-14382</link>
		<dc:creator>Dale Wilson</dc:creator>
		<pubDate>Fri, 05 Nov 2010 15:41:13 +0000</pubDate>
		<guid isPermaLink="false">http://gaskell.org/making-the-webbrowser-control-synchronous/#comment-14382</guid>
		<description>The thread.sleep does nothing but delay the entire thread - essentially holding everything up.

I am happy with the DoEvents solution.</description>
		<content:encoded><![CDATA[<p>The thread.sleep does nothing but delay the entire thread &#8211; essentially holding everything up.</p>
<p>I am happy with the DoEvents solution.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marl Atkins</title>
		<link>http://gaskell.org/making-the-webbrowser-control-synchronous/comment-page-1/#comment-14374</link>
		<dc:creator>Marl Atkins</dc:creator>
		<pubDate>Tue, 29 Jun 2010 19:52:06 +0000</pubDate>
		<guid isPermaLink="false">http://gaskell.org/making-the-webbrowser-control-synchronous/#comment-14374</guid>
		<description>That solution will leave your CPU humming and eating up resources like mad.

I add a System.Threading.Thread.Sleep(50); to help but even that doesn&#039;t help much.

I really wish I could come up with a good solution for this.
I NEED to be able to make it synchronous.</description>
		<content:encoded><![CDATA[<p>That solution will leave your CPU humming and eating up resources like mad.</p>
<p>I add a System.Threading.Thread.Sleep(50); to help but even that doesn&#8217;t help much.</p>
<p>I really wish I could come up with a good solution for this.<br />
I NEED to be able to make it synchronous.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alan</title>
		<link>http://gaskell.org/making-the-webbrowser-control-synchronous/comment-page-1/#comment-14280</link>
		<dc:creator>Alan</dc:creator>
		<pubDate>Tue, 26 Aug 2008 17:12:14 +0000</pubDate>
		<guid isPermaLink="false">http://gaskell.org/making-the-webbrowser-control-synchronous/#comment-14280</guid>
		<description>Thanks, this saved a lot of my time.</description>
		<content:encoded><![CDATA[<p>Thanks, this saved a lot of my time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Naveed Qadri</title>
		<link>http://gaskell.org/making-the-webbrowser-control-synchronous/comment-page-1/#comment-14137</link>
		<dc:creator>Naveed Qadri</dc:creator>
		<pubDate>Sun, 10 Aug 2008 19:11:00 +0000</pubDate>
		<guid isPermaLink="false">http://gaskell.org/making-the-webbrowser-control-synchronous/#comment-14137</guid>
		<description>Thanks man !!!
You  are a life savor.

NBQ -</description>
		<content:encoded><![CDATA[<p>Thanks man !!!<br />
You  are a life savor.</p>
<p>NBQ -</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh</title>
		<link>http://gaskell.org/making-the-webbrowser-control-synchronous/comment-page-1/#comment-1201</link>
		<dc:creator>Josh</dc:creator>
		<pubDate>Thu, 15 Mar 2007 17:47:16 +0000</pubDate>
		<guid isPermaLink="false">http://gaskell.org/making-the-webbrowser-control-synchronous/#comment-1201</guid>
		<description>thanks so much for that tip, very simple, yet very effective.  Does exactly what I need too.

You saved me a TON of time.</description>
		<content:encoded><![CDATA[<p>thanks so much for that tip, very simple, yet very effective.  Does exactly what I need too.</p>
<p>You saved me a TON of time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dlyle</title>
		<link>http://gaskell.org/making-the-webbrowser-control-synchronous/comment-page-1/#comment-7</link>
		<dc:creator>dlyle</dc:creator>
		<pubDate>Thu, 27 Apr 2006 19:26:14 +0000</pubDate>
		<guid isPermaLink="false">http://gaskell.org/making-the-webbrowser-control-synchronous/#comment-7</guid>
		<description>There is some danger in using Application.DoEvents() in that if you open and close your application quickly, you might get rogue process instances if you view your task manager -- especially with the Application.DoEvents() inside a while loop.</description>
		<content:encoded><![CDATA[<p>There is some danger in using Application.DoEvents() in that if you open and close your application quickly, you might get rogue process instances if you view your task manager &#8212; especially with the Application.DoEvents() inside a while loop.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 2.681 seconds -->

