Browser Object - NavigateComplete2 event.

  • Thread starter Thread starter Mufasa
  • Start date Start date
M

Mufasa

So I've got web pages that are going to be loaded that take a little while
to load. Rather than having somebody sitting there staring at nothing while
the page loads, I'd like to put up something and when the page finishes
loading, show them the entire page.

Would this be accomplished with the NavigateComplete2 event? So I'd put
whatever I need on the screen, tell the browser object to load the object
without it being visible, and then trap the NavigateComplete2 event so that
when it happens I then would make the browser object visible.

Is this right? Does it make sense?

TIA - Jeff.
 
What web browser object are you using? The default one found in the toolbox
or the IE instance? Its different for each.

Rob
 
Mufasa said:
So I've got web pages that are going to be loaded that take a little while
to load. Rather than having somebody sitting there staring at nothing while
the page loads, I'd like to put up something and when the page finishes
loading, show them the entire page.

Would this be accomplished with the NavigateComplete2 event? So I'd put
whatever I need on the screen, tell the browser object to load the object
without it being visible, and then trap the NavigateComplete2 event so that
when it happens I then would make the browser object visible.

Is this right? Does it make sense?

Oh, I didn't read this correctly the first time. Yes, this is correct if
you are using the AxSHDocVw.AxWebBrowser object. Thats how I would do it
anyways :~]
 
Thanks Rob.

RobKinney1 said:
Mufasa said:
So I've got web pages that are going to be loaded that take a little
while
to load. Rather than having somebody sitting there staring at nothing
while
the page loads, I'd like to put up something and when the page finishes
loading, show them the entire page.

Would this be accomplished with the NavigateComplete2 event? So I'd put
whatever I need on the screen, tell the browser object to load the object
without it being visible, and then trap the NavigateComplete2 event so
that
when it happens I then would make the browser object visible.

Is this right? Does it make sense?

Oh, I didn't read this correctly the first time. Yes, this is correct if
you are using the AxSHDocVw.AxWebBrowser object. Thats how I would do it
anyways :~]
 
Back
Top