Disable keys when not in Run Time

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is there a way to Disable the:
Ctrl+Break
Ctrl+G
Ctrl+N
key combinations. I see in the KB that if you are in Run Time they are
disabled, but how about if not in Run Time.

Thank you for your help.

Steven
 
In most cases, if you use a mde, and NOT A mdb, then ctrl-G will not work...

You can also turn off most of the keys in he tools->start-up

try

Try downloading and running the 3rd example at my following web site that
shows a hidden ms-access interface, and NO CODE is required to do
this....but just some settings in the start-up.

Check out:

http://www.members.shaw.ca/AlbertKallal/msaccess/DownLoad.htm

After you try the application, you can exit, and then re-load the
application, but hold down the shift key to by-pass the start-up options. If
want, you can even disable the shift key by pass. I have a sample mdb file
that will let you "set" the shift key bypass on any application you want.
You can get this at:

http://www.members.shaw.ca/AlbertKallal/msaccess/msaccess.html

If you convert that sample to a mde (which you should have been doing for
your users anyway), then the keys like ctrl-g etc simply don't function.

the added benefit of a mde is that un-handled error does NOT reset all your
variables like a mdb does (so, they kind of have built in error handling).

Last, but not least, if you provide a shortcut, and use the /runtime, then
users once again will not see the standard menus, and ctrl-g, and break keys
again are disabled.
 
Back
Top