|
-
June 12th, 2005, 12:16 AM
#1
WebBrowser DocumentComplete & Frames Problem
I have the following trouble with the documentcomplete event.
--------------------
Private Sub WebBrowser1_DocumentComplete(ByVal pDisp As Object, URL As
Variant)
Text3.Text = _ WebBrowser1.Document.frames(3).Document.body.innertext
End Sub
----------------
The problem is that the Documentcomplete sub routine fires before the page
shows in the webbrowser window. I have tried with for next loops and the
timer control to force delays several praces in the code, but that seems to
halt the web browser control.
If I add a message box and wait till the page shows, it works fine.
Any help will be highly appreaciated as this problem is driving me mad! :-)
Best regards
pokpoki
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|