X   Site Message
(Message will auto close in 2 seconds)

Welcome to UtterAccess! Please ( Login   or   Register )

Custom Search
> Waiting For A Web Page To Complete Loading, Internet Explorer 8    
post Jun 13 2013, 08:54 AM

Utter Access VIP
Posts: 6,289
Joined: 22-June 04
From: North Carolina

I have tried
While ie.busy

While ie.readystate <> 4
  DoEvents  'wait until IE is done loading page.

  Loop Until ie.ReadyState = 4

None of which seem to work. Does anyone have a suggestion on how to get feedback from IE as to when it's done loading a page? Is there some incantation I haven't found yet?
This code does seem to work on our previous version of the dashboard which is mostly HTML. The version of the dashboard that fails is mostly javascript. I don't know if that makes a difference.
The only way I can get my code to work is with a fixed time interval. In other words, I add a 5 second delay between link clicks whether I need it or not and hope that it's enough: very wasteful and inprecise. Most of the times it works, some times it doesn't.
Go to the top of the page

Posts in this topic

Custom Search

RSSSearch   Top   Lo-Fi    22nd January 2020 - 02:32 AM