K
K E Senthil Kumar
I use this code to find a record. I want to beep a sound when no record is
found. But even when the record is found, the beep is sounding. What is
wrong with the code here
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
FindRecord()
End If
End Sub
thanks
Senthil Kumar
found. But even when the record is found, the beep is sounding. What is
wrong with the code here
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
FindRecord()
End If
End Sub
thanks
Senthil Kumar