I've got this code:
I've got KEYPREVIEW set as true for the form - so that pressing the ENTER key will cause this event to fire and then process the same sub that clicking the GO button does as well.Code:Private Sub APC_KeyUp(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles MyBase.KeyUp If e.KeyCode = Keys.Enter Then Call ButtonGo() End If e.Handled = False End Sub
I cannot get the ENTER key to stop beeping. I've tried the e.Handled=True and =False (the help says that Handled means different things to different UI objects.
At any rate - I do not want the ENTER key to make a beep.
Note that I'm on a pocket PC - but I don't think that will make a difference.




Reply With Quote