Is there any way of trapping the Ctrl+Alt+Del combination using VBA code within a form or control to prevent a user from immediately restarting the computer in the event of an Access application falling over?
I've tried using the following code within the KeyDown event for a particular control but it doesn't prevent the restart.
Private Sub txtDetails_KeyDown(KeyCode As Integer, Shift As Integer)
If KeyCode = vbKeyDelete And Shift = 6 Then
DoCmd.CancelEvent
End If
End Sub
Have I misunderstood something or is it just not possible? Any help would be greatly appreciated.