04-03-2007, 02:25 PM
Dave Wrote:An example from my frmLogin.
Code:Private Sub txtName_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
Call picConnect_Click
KeyAscii = 0
End If
End Sub
KeyAscii = 0 before the sub ends, and there will be no beep.
alright, thanks man

EDIT: hm...i can remove it for pressing enter and so on? i tried it, but somehow it doesnt work...
thanks