473,385 Members | 1,730 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Browser Object - NavigateComplete2 event.

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.
May 23 '07 #1
3 3628
What web browser object are you using? The default one found in the toolbox
or the IE instance? Its different for each.

Rob
May 23 '07 #2
"Mufasa" wrote:
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 :~]

May 23 '07 #3
Thanks Rob.

"RobKinney1" <my*****************@gmail.com.NOSPAMPLEASEwrote in message
news:0A**********************************@microsof t.com...
"Mufasa" wrote:
>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 :~]

May 24 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Thomas Storm | last post by:
Is there a method in JavaScript that will detect and return the coordinates of a mouse click? For example, if someone clicked the mouse within the browser window, the method would return...
12
by: Kepler | last post by:
How do you get the height of the client browser in IE? Both document.body.clientHeight and document.body.offsetHeight return the height of the document. If the page is long and there's a vertical...
4
by: John Bowman | last post by:
Hi, How can I disable the right click capability of the Web Browser control that's on a form? I only want it to display the HTML, w/ no popup menu. TIA, -- John C. Bowman
0
by: SPG | last post by:
Hi, We are using the AxSHDocVw.AxWebBroswer control in our C# app. (It is the standard I net active X I think). Anyhow, we are experiencing some odd behaviour. Every now and then we find that a...
4
by: meh | last post by:
What are the best events to hide and unhide the progressbar when navigating to web pages using the AxWebBrowser control. I have tried a couple of events i.e. BeforeNavigate2 to set the...
4
by: Nathan Sokalski | last post by:
I am writing a piece of code for an ASP.NET function that generates an onKeyPress JavaScript eventhandler that uses the event.keyCode / event.which properties. I have two situations that I would...
1
by: tonylc | last post by:
Hey guys, I'm tryign to write an application that will allow me to browse the web while at the same time keep on the lookout for certain ID Tags. I'm using the interfaces from SHDocVw.IWebBrowser2...
10
by: Conrad Lender | last post by:
In a recent thread in this group, I said that in some cases object detection and feature tests weren't sufficient in the development of cross-browser applications, and that there were situations...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.