-
Any one out there who can tell me
how to stop the beeping when when we press enter to
navigate the screen developed in VB6.
we are making an accounting software for our client
and there are really goin mad becuase every time
they navigate the screen by pressing enter
it give a beep. this beep comes form the speaker inside
the casing of the PC, and when cound card is there it comes
formt he sound card,plz help to solve this problem
-
On the keypress event you need to trap for the enter key, which i assume you are already doing if you are navigating to another form. In whichever keypress event you are trapping the enter key simply set KeyAscii = 0.
Code:
Private Sub Form_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
KeyAscii = 0
Form2.Show
End If
End Sub
[Edited by Iain17 on 04-26-2000 at 02:46 PM]