I made a quick web browser in vb.net, I have one, so when you press the enter button, it goes to the webpage in text box 1. The only thing is that it beeps every time I press enter . I tried using e.Handled = True, but did nothing. Here is my keypress code
Private Sub TextBox1_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles TextBox1.KeyDown If e.KeyCode = Keys.Enter Then e.Handled = True WebBrowser1.Navigate(TextBox1.Text) End If End Sub
I thought e.Handled would make this annoying beep, but he didn't.
source share