I cannot seem to trap the Enter key in a text box. I there something I am doing wrong? I tried the following: Private Sub tbEdit6KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles tbEdit6.KeyPress If Asc( e.KeyChar) 13 Label1.Text e.KeyChar End Sub End Class. Control Key.ByVal e As System.Windows.Forms.KeyEventArgs) Handles . txtInput.KeyDown. If e.KeyCode Keys.Enter Then. Console.WriteLine("Enter"). I cannot seem to trap the Enter key in a text box. I there something I am doing wrong? I tried the following: Private Sub tbEdit6KeyPress(ByVal sender As Object, ByVal e As System.
Windows.Forms.KeyPressEventArgs) Handles tbEdit6.KeyPress If Asc( e.KeyChar) 13 I Have 2 text box and I am enter the first numbers and then press enter go to next textbox this event I want. . .