Disable Hot Keys?

  • Thread starter Thread starter bonehead
  • Start date Start date
B

bonehead

Okay, here's a question I should have posted a very very long time ago.
I'd like to prevent the user from being able to bypass certain error
handling and updating functions that are programmed into the "Save"
command button in my Access applications. Some of my apps are still
running in A97, but most are now running in A2K or subsequent versions.

Is it possible to disable the use of hotkey combinations such as
"Ctrl+S" in an Access application? If so, how? And does the answer vary
depending on the version?

Alternatively, is this an issue that can only be addressed in the OS? PS
I've got systems running Win2K and WinXP.

PS The users really like using "Ctrl+S" in Word and Excel.
 
You should be able to disable it in the security options

If you want to do a system wide shortcut then you'll have to creat a program
that runs on startup, which uses WndProc.

The best way would be to write it as a service, which you could stop/start
yourself, but your users won't be able to get to

It would take less than 20 lines of code to write it in VB or VB.NET, but
your users won't be able to use those shortcut keys in any application whilst
the service is running
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top