Hi everyone,
I'm trying to code a back button in a web browser, but I'm getting a compile error - 'expected end of statement'. Here is the code:
Private Sub cmdBack_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdBack.Click
webBrowser.GoBack
End Sub
The error message highlights the word "Handles." Can anyone tell me why this is happening?
Ty for your help.