Check web page loading time

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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.
 
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
 
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?
 
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/d...browser/reference/events/documentcomplete.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/d...rowser/reference/events/navigatecomplete2.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/d...browser/reference/events/downloadcomplete.asp

I hope this helps?

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top