getting a complete load of wed page in web browser control 
Author Message
 getting a complete load of wed page in web browser control

Hi folks,

If I am not mistaken, the question (or at least my question) is really
centered around the issue of not getting a complete load of the page into
the web control before it returns data to the code which called it.

I issue the "control.navigate URL" syntax, the
control returns what is on the page immediately w/o waiting for the entire
page to load (there may be some CGI on the page, etc.) thereby enabling a
complete set of items through which to loop.

One would think that the Document event would fire when the entire doc is
loaded, but in my case, this event NEVER gets fired off and only part of the
web page is loaded by the control--certainly NOT what is displayed on a web
screen w/ the same URL entered into IE.

I have even tried a "DO while NOT control.ReadyStateComplete, DoEvents,
Loop" to no avail...

Any help on this would be appreciated.

Dan



Sat, 21 Sep 2002 03:00:00 GMT  
 getting a complete load of wed page in web browser control
Monitor the WebBrowser's "ProgressChange" event.  The document is
complete when Progress = "-1"

Regards,

Gregory Silvano
http://www.codehound.com
Free Internet Search Engine for VB Developers

On Tue, 04 Apr 2000 15:32:33 GMT, "Dan Hayman"

Quote:

>Hi folks,

>If I am not mistaken, the question (or at least my question) is really
>centered around the issue of not getting a complete load of the page into
>the web control before it returns data to the code which called it.

>I issue the "control.navigate URL" syntax, the
>control returns what is on the page immediately w/o waiting for the entire
>page to load (there may be some CGI on the page, etc.) thereby enabling a
>complete set of items through which to loop.

>One would think that the Document event would fire when the entire doc is
>loaded, but in my case, this event NEVER gets fired off and only part of the
>web page is loaded by the control--certainly NOT what is displayed on a web
>screen w/ the same URL entered into IE.

>I have even tried a "DO while NOT control.ReadyStateComplete, DoEvents,
>Loop" to no avail...

>Any help on this would be appreciated.

>Dan



Sun, 22 Sep 2002 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. getting a complete load of wed page in web browser control

2. IE Web Browser Control - Auto Complete not working

3. Web browser control's Download Complete event is fired with incomplete document

4. !!!!!Web browser control's Download Complete event is fired before adobe is launched

5. Printing a Web Page in Web Browser Control

6. Web Browser control - problem loading ActiveX controls

7. Saving a complete Web Page from the WebBrowser control

8. Loading Text into web browser control

9. Can't load ActiveX control in web browser

10. Can't load ActiveX control in web browser

11. Loading bookmarks or Fav in Web Browser Control

12. Executing VBScript in a HTML page using web browser control

 

 
Powered by phpBB® Forum Software