By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,929 Members | 1,245 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,929 IT Pros & Developers. It's quick & easy.

Check web page loading time

P: n/a
How to write a program that can check the web page loading time?

Before I have written a browser that use IE as the core, but it does not
support frame. Since the documentcomplete event will trigger if the frame is
completed. So i don't know how to get the time for the whole document
complete.

Or beside the browser, any other method to do this.

Thank you.
Nov 21 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
HK
How to write a program that can check the web page loading time?

Before I have written a browser that use IE as the core, but it does not
support frame. Since the documentcomplete event will trigger if the frame is completed. So i don't know how to get the time for the whole document
complete.

Do you mean you made a complete new browser or did you use AXwebbrowser
AXSHDOCVW or use IE SHDOCVW

With AXwebbrowser it is a frame complete document.complete and the page
complete navigate2.complete

I hope this helps?

Cor
Nov 21 '05 #2

P: n/a
Cor,
I use the AXwebBrowser
That mean when the frame complete, it will trigger document complete.
But if the whole page complete (include all the frame and iframe), it will
trigger navigate2.complete?
Is that Right?


"Cor Ligthert" wrote:
HK
How to write a program that can check the web page loading time?

Before I have written a browser that use IE as the core, but it does not
support frame. Since the documentcomplete event will trigger if the frame

is
completed. So i don't know how to get the time for the whole document
complete.

Do you mean you made a complete new browser or did you use AXwebbrowser
AXSHDOCVW or use IE SHDOCVW

With AXwebbrowser it is a frame complete document.complete and the page
complete navigate2.complete

I hope this helps?

Cor

Nov 21 '05 #3

P: n/a
HK,

I am quiet sure that the documentcomplete is a frame or when one complete
page as document a page.
http://msdn.microsoft.com/library/de...ntcomplete.asp

Because of the text I start doubting about the navigatecomlete2. And it is a
while ago I used it.
http://msdn.microsoft.com/library/de...ecomplete2.asp

This one you can use as well when there are some pages which are not written
as they should be.
http://msdn.microsoft.com/library/de...adcomplete.asp

I hope this helps?

Cor
That mean when the frame complete, it will trigger document complete.
But if the whole page complete (include all the frame and iframe), it will
trigger navigate2.complete?
Is that Right?


"Cor Ligthert" wrote:
HK
How to write a program that can check the web page loading time?

Before I have written a browser that use IE as the core, but it does not support frame. Since the documentcomplete event will trigger if the
frame is
completed. So i don't know how to get the time for the whole document
complete.

Do you mean you made a complete new browser or did you use AXwebbrowser
AXSHDOCVW or use IE SHDOCVW

With AXwebbrowser it is a frame complete document.complete and the page
complete navigate2.complete

I hope this helps?

Cor

Nov 21 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.