Using VBA, trying to find out if IE has stopped downloading a web page with two frames.
This question is very similar to the question/answer at
in which the .busy and .ReadyState attributes of the WebBrowser control do not work and therefore the busy/readystate status of IE must be monitored with the IE_DownloadComplete event. I am experiencing the EXACT problem described in Q_20529021.
I have two questions regarding this issue :
1. On a page with frames, could it be possible that each frame has a .busy or .readystate attribute, something like
and therefore you would have to check the .busy/.readystate attribute of each frame instead of the usual IE.busy ?
2. If frames do not have their own .busy/.readystate attributes then the IE_DownloadComplete event must be used to check the status of the IE instance.
For compatibility reasons I can not use the WebBrowser control. I can check the status of the IE instance using the IE_DownloadComplete event. The code for the event is:
Private Sub IE_DownloadComplete(ByVal pDisp As Object, URL As Variant)
Debug.Print "Download Is Complete"
but the event is not linked to an object. How can I link this event to the IE instance given that I am not using a WebBrowserControl? Are there any other ways to check if the IE instance has stopped processing a web page?