[AccessD] Trapping Key STrokes

Dean Ellis deanellis at iprimus.com.au
Sat Jan 31 17:18:49 CST 2004


Good Morning (or Afternoon) Group.

I am having some difficulty in trapping the CTRL ALT DEL keystroke in Access
and VB. Can anyone help?

The code so Far:

Private Sub Form_Load()
    Me.KeyPreview = True
    
End Sub

------------------------------------------
Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)
Select Case KeyCode

Case (vbKeyControl + Alt + Del)
SendKeys = ""
MsgBox "Nope"

End Select


End Sub
--------------------------------------------------

Thanks in Advance

Cheers

Dean


More information about the AccessD mailing list