<?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 : [SOLVED!] Web Browser Control Navigate error.</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Controls : [SOLVED!] Web Browser Control Navigate error.]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 21 Apr 2026 15:31:33 +0000</pubDate>
  <lastBuildDate>Fri, 22 Jan 2010 18:04:21 +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=16058</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[[SOLVED!] Web Browser Control Navigate error. : Okay, I&amp;#039;ll try to explain...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16058&amp;PID=56314&amp;title=solved-web-browser-control-navigate-error#56314</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4108">shipwreck</a><br /><strong>Subject:</strong> 16058<br /><strong>Posted:</strong> 22 January 2010 at 6:04pm<br /><br />Okay, I'll try to explain this the best that I can:<br /><br />What you'll need:<br />• One Web Browser control (I named mine "WB").<br />• One CJ PushButton (This isn't really required.)<br /><br />in the click event of the button place this code.<br /><br />Private Sub btnWB_Click()<br />WB.Navigate ("http://www.google.co.in/test.htm")<br />' This is a bogus link. It's used to display an error.<br />End Sub<br /><br />Next, under the WB's navigate error event, add:<br /><br />Private Sub WB_NavigateError(ByVal pDisp As Object, URL As Variant, TargetFrameName As Variant, StatusCode As Variant, Cancel As Boolean)<br />If StatusCode = 404 Then MsgBox "Server not found."<br />End Sub<br /><br />Hope this helps everyone as much as it has me.]]>
   </description>
   <pubDate>Fri, 22 Jan 2010 18:04:21 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16058&amp;PID=56314&amp;title=solved-web-browser-control-navigate-error#56314</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED!] Web Browser Control Navigate error. : Well, wouldn&amp;#039;t you know that...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16058&amp;PID=56313&amp;title=solved-web-browser-control-navigate-error#56313</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4108">shipwreck</a><br /><strong>Subject:</strong> 16058<br /><strong>Posted:</strong> 22 January 2010 at 5:58pm<br /><br />Well, wouldn't you know that I was able to solve this one on my own as well. I guess we really do learn something new every day.<br /><br />I will post another post below this one explaining the code I used to solve the problem just in case any of you all happen to run into any trouble too!]]>
   </description>
   <pubDate>Fri, 22 Jan 2010 17:58:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16058&amp;PID=56313&amp;title=solved-web-browser-control-navigate-error#56313</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED!] Web Browser Control Navigate error. :  Hello everyone. I would like...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16058&amp;PID=56309&amp;title=solved-web-browser-control-navigate-error#56309</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4108">shipwreck</a><br /><strong>Subject:</strong> 16058<br /><strong>Posted:</strong> 22 January 2010 at 12:48pm<br /><br />&#091;SOLVED: VIEW POSTS BELOW FOR SOLUTION.&#093;<br />Hello everyone.<br />I would like to have custom error pages within my browser that would be displayed depending on the error that happens.<br />I'm pretty familiar with error codes such as 404 and so on but I don't really know how to implement these into the control. I'm assuming it is under the navigate error even but Not sure what code or API that would need to be added here.<br /><br />Anyone help out a bit? I'd really appreciate it!<br /><br />Thanks & Regards in advance!  <img src="http://forum.codejock.com/smileys/smiley12.gif" border="0" align="middle"> ]]>
   </description>
   <pubDate>Fri, 22 Jan 2010 12:48:35 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16058&amp;PID=56309&amp;title=solved-web-browser-control-navigate-error#56309</guid>
  </item> 
 </channel>
</rss>