Thenolos
Technical User
- Jul 15, 2004
- 38
Howdy,
I have an Access 97 application that I use to fill out information on various webforms. This database accesses several sites that are almost exactly the same. After IE navigates to a new page I am using the following code to wait for the page to finish loading before moving on:
This works great on all but one page. For some reason on this page, IE seems to return ReadyState = 4 (READYSTATE_COMPLETE) before all of the frames are finished loading.
Does anyone have any ideas as to why this might be happening?
I have an Access 97 application that I use to fill out information on various webforms. This database accesses several sites that are almost exactly the same. After IE navigates to a new page I am using the following code to wait for the page to finish loading before moving on:
Code:
Public Function PageWait(obIE As Object) As Boolean
While obIE.Busy = True Or obIE.ReadyState <> READYSTATE_COMPLETE
DoEvents
Wend
PageWait = True
End Function
This works great on all but one page. For some reason on this page, IE seems to return ReadyState = 4 (READYSTATE_COMPLETE) before all of the frames are finished loading.
Does anyone have any ideas as to why this might be happening?