Im trying to make a basic web browser with VB6, here is what i have:
Private Sub cmdback_Click()
On Error Resume Next
WebBrowser1.GoBack
End Sub
Private Sub cmdForward_Click()
On Error Resume Next
WebBrowser1.GoForward
End Sub
Private Sub cmdgo_Click()
WebBrowser1.Navigate (txturl.Text)
End Sub
Private Sub cmdRefresh_Click()
On Error Resume Next
WebBrowser1.Refresh
End Sub
Private Sub cmdStop_Click()
On Error Resume Next
WebBrowser1.Stop
End Sub
Private Sub Timer1_Timer()
Form1.Caption = WebBrowser1.LocationName
End Sub
When i try to open the compiled .exe the error:
Run-time Error '424'
Object required.
Pops up, any ideas?