<?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 : Detect when webbrowser document is fully loaded</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Controls : Detect when webbrowser document is fully loaded]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 15:59:52 +0000</pubDate>
  <lastBuildDate>Tue, 01 Jun 2010 17:30:14 +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=16782</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[Detect when webbrowser document is fully loaded :   Hi,I&amp;#039;m trying to get...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16782&amp;PID=58769&amp;title=detect-when-webbrowser-document-is-fully-loaded#58769</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5468">DTeCH</a><br /><strong>Subject:</strong> 16782<br /><strong>Posted:</strong> 01 June 2010 at 5:30pm<br /><br />Hi,<br><br>I'm trying to get the event of the webbrowser control that indicates it's fully loaded...<br><br>...after All <b>iframes</b>, &amp; everything else in the browser document is done loading.<br><br>Each frame in a document triggers <b>cjBrowser1_DocumentComplete</b> when it's done loading, so<br><br>the following attempts to compare the frame that triggered <b>DocumentComplete</b> to the parent browser window.<br><br>If it matches, then it will set <b>xWebB3Done</b> to <font color="#000000"><b>True</b></font>.<br><br>I've tried :<br><br>(<b>xWebB3Done</b> is set to False before <b>cjBrowser1</b> navigates)<br><br><br><br><font color="#0000ff"><b>Private Sub</b></font> cjBrowser1_DocumentComplete<b>(<font color="#0000ff">ByVal</font></b> pDisp <b><font color="#0000ff">As Object</font></b>, URL <b><font color="#0000ff">As Variant</font>)</b><br><b><font color="#0000ff"><br>&nbsp;&nbsp;&nbsp; If</font></b> <b>(</b>pDisp <font color="#0000ff"><b>Is</b></font> cjBrowser1.Object<b>)</b> <b><font color="#0000ff">Then</font></b><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; xWebB3Done = <font color="#0000ff"><b>True</b></font> <b>&lt;</b>================<b>&lt;&lt;</b> this is NEVER hit no matter what.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <font color="#009933">' Finished Loading</font><br><font color="#0000ff"><b>&nbsp;&nbsp;&nbsp; Else</b></font><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <font color="#009933">' Do nothing</font><br><font color="#0000ff"><b>&nbsp;&nbsp;&nbsp; End If</b></font><br><br><b><font color="#0000ff">End Sub</font></b><br><br><br><br><b>cjBrowser1_DocumentComplete</b> is fired several times during a single page load.<br><br><b>pDisp</b> say's it's "<font color="#ff0000">Microsoft Web Browser Control</font>" at each, &amp; every firing of a single page load.<br><br>What else can I do? <img src="http://forum.codejock.com/smileys/smiley5.gif" border="0" align="absmiddle"><br><br>(VB6 on Vista)<br>]]>
   </description>
   <pubDate>Tue, 01 Jun 2010 17:30:14 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16782&amp;PID=58769&amp;title=detect-when-webbrowser-document-is-fully-loaded#58769</guid>
  </item> 
 </channel>
</rss>