Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21266

webbrowser1 always error

$
0
0
Private Sub Command1_Click()
On Error GoTo Err_Handler

wb.Navigate "http://www.websitename.com/"

Exit_Sub:
Exit Sub '

Err_Handler:
MsgBox "Error", vbInformation, "Error3"
Resume Exit_Sub

End Sub


Everytime during its loading, internet explorer script error shows or the program shutdown due to "visual basic has encountered a problem and needs to close".

Viewing all articles
Browse latest Browse all 21266

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>