I am trying to set up a text box which allows you to enter a name and press enter to confirm that but i don't want windows to ding every time you press enter on it. How can i disable the sound in this case or all together.
I have already tried:
Private Sub EnterMapName_KeyDown(sender As Object, e As KeyEventArgs) Handles Me.KeyDown
e.Handled = True
e.SuppressKeyPress = True
Select Case e.KeyCode
Case Keys.Enter
name = MapName.Text
End Select
End Sub