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
> >
> >
> >