is there a way to determine when a webpage has finished loading, when you are using the webbrowser tool in the Microsoft Internet Controls?
------------------
Mooose
Printable View
is there a way to determine when a webpage has finished loading, when you are using the webbrowser tool in the Microsoft Internet Controls?
------------------
Mooose
Hi Moose.
Use this code:All the best.Code:Private Sub WebBrowser1_DocumentComplete(ByVal pDisp As Object, URL As Variant)
If pDisp Is WebBrowser1.Object Then
'Your code goes here.
'If you leave out this If Statement,
'the webbrowser control gets confused
'about when the document is complete
'for a web page with Frames.
End If
End Sub
------------------
OneSource
.Quote:
The truth may be out there, but it's in here too!