<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : WebBrowser Application Error</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : General Discussion : WebBrowser Application Error]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 23:47:15 +0000</pubDate>
  <lastBuildDate>Tue, 05 Aug 2008 01:30:58 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=10216</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[WebBrowser Application Error : Hi  You can stop the standard...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10216&amp;PID=39442&amp;title=webbrowser-application-error#39442</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3659">LightRock</a><br /><strong>Subject:</strong> 10216<br /><strong>Posted:</strong> 05 August 2008 at 1:30am<br /><br />Hi<DIV>&nbsp;</DIV><DIV>You can stop the standard script warnings by simply adding:</DIV><DIV>&nbsp;</DIV><DIV>WebBrowser1.ScriptErrorsSuppressed = True</DIV><DIV>&nbsp;</DIV><DIV>However it does require the 'Disable script debugging' in the advanced settings of IE to be checked, otherwise you get a debug error.</DIV>]]>
   </description>
   <pubDate>Tue, 05 Aug 2008 01:30:58 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10216&amp;PID=39442&amp;title=webbrowser-application-error#39442</guid>
  </item> 
  <item>
   <title><![CDATA[WebBrowser Application Error : Hi we are having a similar problem...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10216&amp;PID=39422&amp;title=webbrowser-application-error#39422</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1932">LittleJK</a><br /><strong>Subject:</strong> 10216<br /><strong>Posted:</strong> 04 August 2008 at 3:51pm<br /><br />Hi we are having a similar problem but we cannot get the scripting errors to stop by using webbrowser.setobjectForscripting. We have the webbrowser control inside of our application. <br><br>below is the snippet of where we are calling it. When we set the setobjectforscripting... it still comes back with scripting errors<br><br><br>Private Sub Form_Load()<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; On Error GoTo handle_error<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; Screen.MousePointer = vbHourglass<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; sDefaultPage = "http://intranet.woodloch.com/roomready"<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; Me.web.Navigate sDefaultPage<br>&nbsp;&nbsp;&nbsp; Me.web.setObjectForScripting Me<br><br>&nbsp;&nbsp;&nbsp; bFrmLoaded = True<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; GoTo doneSub<br>&nbsp;&nbsp;&nbsp; <br>handle_error:<br>&nbsp;&nbsp;&nbsp; bFrmLoaded = False<br>&nbsp;&nbsp;&nbsp; Call objErrHandler.HandleError(Err.Number, Me.Name &amp; ".Form_Load", Err.Description)<br>&nbsp;&nbsp; <br>doneSub:<br>&nbsp;&nbsp;&nbsp; Screen.MousePointer = vbDefault<br>&nbsp;&nbsp;&nbsp; <br>End Sub<br>]]>
   </description>
   <pubDate>Mon, 04 Aug 2008 15:51:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10216&amp;PID=39422&amp;title=webbrowser-application-error#39422</guid>
  </item> 
  <item>
   <title><![CDATA[WebBrowser Application Error : Thanks Oleg, works a treat! ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10216&amp;PID=33628&amp;title=webbrowser-application-error#33628</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3659">LightRock</a><br /><strong>Subject:</strong> 10216<br /><strong>Posted:</strong> 14 April 2008 at 7:42am<br /><br /><DIV></DIV>Thanks Oleg, works a treat!]]>
   </description>
   <pubDate>Mon, 14 Apr 2008 07:42:05 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10216&amp;PID=33628&amp;title=webbrowser-application-error#33628</guid>
  </item> 
  <item>
   <title><![CDATA[WebBrowser Application Error : Thanks.  Ye, problem that need...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10216&amp;PID=33626&amp;title=webbrowser-application-error#33626</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 10216<br /><strong>Posted:</strong> 14 April 2008 at 7:01am<br /><br /><P>Thanks. </P><DIV>Ye, problem that need to release ObjectForScripting.</DIV><DIV>&nbsp;</DIV><DIV>You can add public method and call it from container:</DIV><DIV>&nbsp;</DIV><DIV>Public Sub BeforeUnload()<BR>&nbsp;&nbsp;&nbsp; WebBrowser1.SetObjectForScripting Nothing<BR>End Sub</DIV><DIV>....</DIV><DIV>&nbsp;</DIV><DIV>Private Sub Form_Unload(Cancel As Integer)<BR>UserControl11.BeforeUnload<BR>End Sub<BR></DIV>]]>
   </description>
   <pubDate>Mon, 14 Apr 2008 07:01:53 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10216&amp;PID=33626&amp;title=webbrowser-application-error#33626</guid>
  </item> 
  <item>
   <title><![CDATA[WebBrowser Application Error : uploads/20080414_042921_codejock.zip  Hi  Attached...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10216&amp;PID=33622&amp;title=webbrowser-application-error#33622</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3659">LightRock</a><br /><strong>Subject:</strong> 10216<br /><strong>Posted:</strong> 14 April 2008 at 4:37am<br /><br /><a href="https://forum.codejock.com/uploads/20080414_042921_codejock.zip" target="_blank">uploads/20080414_042921_codejock.zip</A><DIV>&nbsp;</DIV><DIV>Hi</DIV><DIV>&nbsp;</DIV><DIV>Attached is a sample of both control and app in the most basic form possible. If you build and register the control and then build the app, the error occurs when closing the .exe.</DIV><DIV>&nbsp;</DIV><DIV>(Environment: VB6 (SP5) Extreme 11.2.2 / Windows 2000 (SP4) or XP)</DIV><DIV>&nbsp;</DIV><DIV>Thank you</DIV><DIV>&nbsp;</DIV><DIV>David</DIV><DIV>(Can only assume it's to do with binding the function on the control rather than a form)</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 14 Apr 2008 04:37:48 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10216&amp;PID=33622&amp;title=webbrowser-application-error#33622</guid>
  </item> 
  <item>
   <title><![CDATA[WebBrowser Application Error : Hi, Small sample will be great...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10216&amp;PID=33617&amp;title=webbrowser-application-error#33617</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 10216<br /><strong>Posted:</strong> 14 April 2008 at 4:08am<br /><br />Hi,<DIV>Small sample will be great :)</DIV>]]>
   </description>
   <pubDate>Mon, 14 Apr 2008 04:08:49 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10216&amp;PID=33617&amp;title=webbrowser-application-error#33617</guid>
  </item> 
  <item>
   <title><![CDATA[WebBrowser Application Error : Hi   I am receiving an application...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10216&amp;PID=33608&amp;title=webbrowser-application-error#33608</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3659">LightRock</a><br /><strong>Subject:</strong> 10216<br /><strong>Posted:</strong> 14 April 2008 at 3:21am<br /><br />Hi <DIV>&nbsp;</DIV><DIV>I am receiving an application error when hosting a WebBrowser control within a VB ActiveX control and using the SetObjectForScripting (if you remove it there is no error).</DIV><DIV>&nbsp;</DIV><DIV>I guess it is a problem with the clean up when the control is destoyed (it happens on exit of the .exe or VB itself in design time).</DIV><DIV>&nbsp;</DIV><DIV>I am hosting your control in another because I extensively use the MSHTML functionality for HTML editing but also need the ability for HTML to call functionality within the application.</DIV><DIV>&nbsp;</DIV><DIV>Any thoughts?</DIV><DIV>&nbsp;</DIV><DIV>David</DIV>]]>
   </description>
   <pubDate>Mon, 14 Apr 2008 03:21:12 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10216&amp;PID=33608&amp;title=webbrowser-application-error#33608</guid>
  </item> 
 </channel>
</rss>