Results 1 to 3 of 3
  1. #1
    BruceUK is offline Advanced Beginner
    Windows 7 64bit Access 2003
    Join Date
    Sep 2011
    Posts
    48

    Smile Can the Ctrl+Alt+Del key combination be trapped in a form or control?

    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.

  2. #2
    ajetrumpet is offline VIP
    Windows Vista Access 2007
    Join Date
    Mar 2010
    Location
    N/A
    Posts
    2,694
    i would doubt it's possible, but good question.

    I would assume that's a windows function, which has nothing to do with access.

    and this probably confirms that:

    http://www.google.com/#sclient=psy&h...w=1024&bih=681

    I wonder if you can disable that stuff WHEN you're in access? could vba touch that functionality I wonder???

  3. #3
    desk4tbc is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jun 2011
    Posts
    29

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Disable ctrl + dot(.) in access for report
    By armm1388 in forum Security
    Replies: 2
    Last Post: 06-24-2011, 06:40 PM
  2. how Disable ctrl + dot(.) in access
    By armm1388 in forum Security
    Replies: 1
    Last Post: 05-30-2011, 03:31 AM
  3. Replies: 3
    Last Post: 08-25-2010, 07:04 AM
  4. CTRL +' Short Cut Key
    By desireemm1 in forum Access
    Replies: 2
    Last Post: 09-10-2009, 03:25 PM
  5. Bypassing Startup options with Ctrl W
    By rayc in forum Security
    Replies: 0
    Last Post: 09-06-2006, 09:18 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums