[help]Making a webbrowser stop[Solved]
ok i have a timer that is on no matter what on my form and when it gets to a certain site i want it to enable stuff so here is my code.
[php] If WebBrowser1.Url.AbsoluteUri = ("www.google.com") = True & WebBrowser1.ReadyState = WebBrowserReadyState.Complete Then
Timer1.Stop()
Button3.Enabled = True
End If
If Button3.Enabled = True Then
subm.Enabled = False
End If[/php]
So really the error is this part
(i think)
it says there is no problem but when i run the program it shuts it down (i think its cause of the timer i have running)
Thanks in advance.
(if you do help me plz explain it to me so i can use it for future reference and know how it works.)
[php] If WebBrowser1.Url.AbsoluteUri = ("www.google.com") = True & WebBrowser1.ReadyState = WebBrowserReadyState.Complete Then
Timer1.Stop()
Button3.Enabled = True
End If
If Button3.Enabled = True Then
subm.Enabled = False
End If[/php]
So really the error is this part
(i think)
Code:
If WebBrowser1.Url.AbsoluteUri = ("www.google.com") = True
Thanks in advance.

(if you do help me plz explain it to me so i can use it for future reference and know how it works.)

