How can I prevent the beep sound when I use the SendKey command in
NumericUpDown1 Box?
Here is the code:
Private Sub NumericUpDown1_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles NumericUpDown1.KeyPress
Static SAME As Short = TB2
TB1 = SAME - NumericUpDown1.Value
If e.KeyChar >= "0" And e.KeyChar <= "9" Then
SendKeys.Send("ENTER")
End If
TextBox1.Text = TB1
End Sub