<?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: .NET Web Browser Control Gotchas</title>
	<atom:link href="http://pathfindersoftware.com/2009/06/net-web-browser-control-gotchas/feed/" rel="self" type="application/rss+xml" />
	<link>http://pathfindersoftware.com/2009/06/net-web-browser-control-gotchas/</link>
	<description>The Fastest Way to Launch Successful Software</description>
	<lastBuildDate>Thu, 19 Jan 2012 16:36:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Karthik</title>
		<link>http://pathfindersoftware.com/2009/06/net-web-browser-control-gotchas/#comment-9572</link>
		<dc:creator>Karthik</dc:creator>
		<pubDate>Mon, 11 Jan 2010 15:49:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.pathf.com/blogs/?p=2581#comment-9572</guid>
		<description>@Kenia - I m not sure if the control offers any ajax support.  I know you can hook into DOM events in the browser and do things.

@Richard - WebBrowser1.Document.ExecCommand(”Print”, True, 0)? Can you try passing in a &quot;false&quot;? WebBrowser1.Document.ExecCommand(”Print”, false, 0). It worked for me so I dont see any reasons why it wont for you.</description>
		<content:encoded><![CDATA[<p>@Kenia &#8211; I m not sure if the control offers any ajax support.  I know you can hook into DOM events in the browser and do things.</p>
<p>@Richard &#8211; WebBrowser1.Document.ExecCommand(”Print”, True, 0)? Can you try passing in a &#8220;false&#8221;? WebBrowser1.Document.ExecCommand(”Print”, false, 0). It worked for me so I dont see any reasons why it wont for you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richard</title>
		<link>http://pathfindersoftware.com/2009/06/net-web-browser-control-gotchas/#comment-9571</link>
		<dc:creator>Richard</dc:creator>
		<pubDate>Fri, 08 Jan 2010 14:47:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.pathf.com/blogs/?p=2581#comment-9571</guid>
		<description>WebBrowser1 is displaying a PDF file.

I added a Print button to display the printdialog box. It tried to do the following but it doesn&#039;t work.

Help pls. Thanks!

Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
    Try
      WebBrowser1.WebBrowserShortcutsEnabled = True
      WebBrowser1.Document.ExecCommand(&quot;Print&quot;, True, 0)

    Catch ex As Exception
      MsgBox(&quot;oops..&quot; &amp; ex.Message)
    End Try
  End Sub</description>
		<content:encoded><![CDATA[<p>WebBrowser1 is displaying a PDF file.</p>
<p>I added a Print button to display the printdialog box. It tried to do the following but it doesn&#8217;t work.</p>
<p>Help pls. Thanks!</p>
<p>Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click<br />
    Try<br />
      WebBrowser1.WebBrowserShortcutsEnabled = True<br />
      WebBrowser1.Document.ExecCommand(&#8220;Print&#8221;, True, 0)</p>
<p>    Catch ex As Exception<br />
      MsgBox(&#8220;oops..&#8221; &amp; ex.Message)<br />
    End Try<br />
  End Sub</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kenia</title>
		<link>http://pathfindersoftware.com/2009/06/net-web-browser-control-gotchas/#comment-9570</link>
		<dc:creator>Kenia</dc:creator>
		<pubDate>Tue, 11 Aug 2009 13:39:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.pathf.com/blogs/?p=2581#comment-9570</guid>
		<description>Anything regarding Ajax support? So far I haven&#039;t found a way to get notified when a call is made using the XMLHttpRequest object. Do you guys know if there&#039;s any specific tricky event that fires or is it that the WebBrowser control simply can&#039;t access to this?</description>
		<content:encoded><![CDATA[<p>Anything regarding Ajax support? So far I haven&#8217;t found a way to get notified when a call is made using the XMLHttpRequest object. Do you guys know if there&#8217;s any specific tricky event that fires or is it that the WebBrowser control simply can&#8217;t access to this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://pathfindersoftware.com/2009/06/net-web-browser-control-gotchas/#comment-9569</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Fri, 10 Jul 2009 01:08:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.pathf.com/blogs/?p=2581#comment-9569</guid>
		<description>I have an application that won&#039;t allow buttons on a website to fire the html click code for submit...something new in the i.e webbrowser control has broken how buttons work...do you have any idea???</description>
		<content:encoded><![CDATA[<p>I have an application that won&#8217;t allow buttons on a website to fire the html click code for submit&#8230;something new in the i.e webbrowser control has broken how buttons work&#8230;do you have any idea???</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karthik</title>
		<link>http://pathfindersoftware.com/2009/06/net-web-browser-control-gotchas/#comment-9568</link>
		<dc:creator>Karthik</dc:creator>
		<pubDate>Tue, 07 Jul 2009 14:35:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.pathf.com/blogs/?p=2581#comment-9568</guid>
		<description>@Bob I know there is a way to suppress script errors by doing this &quot;WebBrowser.ScriptErrorsSuppressed = true&quot;. I think this should work if the IE setting to display script errors is ignored.</description>
		<content:encoded><![CDATA[<p>@Bob I know there is a way to suppress script errors by doing this &#8220;WebBrowser.ScriptErrorsSuppressed = true&#8221;. I think this should work if the IE setting to display script errors is ignored.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bob Breeding</title>
		<link>http://pathfindersoftware.com/2009/06/net-web-browser-control-gotchas/#comment-9567</link>
		<dc:creator>Bob Breeding</dc:creator>
		<pubDate>Mon, 06 Jul 2009 05:19:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.pathf.com/blogs/?p=2581#comment-9567</guid>
		<description>The &quot;gotcha&quot; I&#039;ve run into is that the webobject is great at throwing script errors and ignoring your IE settings to disable the display of script errors. Given that the webobject appears to be based on IE 6, most recent sites and just about all embedded ads throw these errors. You know of any way to suppress script error reporting?

thanks,
breeding@cox.net</description>
		<content:encoded><![CDATA[<p>The &#8220;gotcha&#8221; I&#8217;ve run into is that the webobject is great at throwing script errors and ignoring your IE settings to disable the display of script errors. Given that the webobject appears to be based on IE 6, most recent sites and just about all embedded ads throw these errors. You know of any way to suppress script error reporting?</p>
<p>thanks,<br />
<a href="mailto:breeding@cox.net">breeding@cox.net</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic (User agent is rejected)
Page Caching using memcached (User agent is rejected)

Served from: pathfindersoftware.com @ 2012-02-10 01:30:18 -->
