I am making an application using VB6 in which a WebBrowser window is launched using this code, and it refreshes the page every 3 minutes
Private Sub Form_Load()
WebBrowser1.Navigate ("http://www.google.com")
End Sub
Private Sub T_Timer()
'Increment minute count
FireCount = FireCount + 1
If FireCount = 3 Then
'Reset to 0 for next time
FireCount = 0
WebBrowser1.Refresh ("http://www.google.com")
'Refresh web browser
End If
End Sub
but it give me an alert saying compile error : wrong number or argument or invalid property assignment. Can any one help me find out my mistake ?