Re: webbrowser general help
I would THINK you start a time each time you start loading a page. Then after a certain number of seconds in your timer, do your webbrowser1.navigate routine again---and when loaded, stop your timer. So I guess you need to know WHEN the page is fully loaded.....you can check that with this routine:
Private Sub WebBrowser1_DocumentComplete(ByVal pDisp As Object,
URL As Variant)
If (pDisp Is WebBrowser1.Object) Then
MsgBox "Web document is finished downloading"
End If
End Sub
Re: webbrowser general help
Re: webbrowser general help
the question here is why does it get stuck? a page is suppose to load when you navigate to it.
if it does not load properly it is either an error message (that you will need to click yes/no or OK)
you only get those script error with webbrowser and not internet explorer.
have you tried setting WebBrowser1.Silent = True at Form_Load()?
if we could see which website it is doing that we could help you a bit more, I remember you said yahoo but i only had that script error popup once and now its always running fine