R
RLN
My app has a password screen at startup.
If the developer's pass is entered, I want to make sure the app is fullt
enabled (F11 key, all menus, right click availability, etc)
If the user's password is entered, I need to block use of the F11 key, and
right clicking of the mouse on forms, making sure the database icon is hidden
from the menu bars, etc.
I have to admit I've struggled with not knowing exactly where the best place
would be to enable/disable these kinds of things....better in a macro, VBA
code, or under Tools/Options, etc?
For starters I thought I could set this up with a macro and disable the F11
key so users can't get to the container. After the macro runs, the F11 key
is not disabled and can still be pressed by users.
I realize I'm kludging along trying to make this work, but is there a good
VBA module that might address this need, or would it be better to disable
right clicking on a form when it loads then re-enable it when the form
closes? (seems like a bunch more code to maintain that could get scattered)
Thanks......
If the developer's pass is entered, I want to make sure the app is fullt
enabled (F11 key, all menus, right click availability, etc)
If the user's password is entered, I need to block use of the F11 key, and
right clicking of the mouse on forms, making sure the database icon is hidden
from the menu bars, etc.
I have to admit I've struggled with not knowing exactly where the best place
would be to enable/disable these kinds of things....better in a macro, VBA
code, or under Tools/Options, etc?
For starters I thought I could set this up with a macro and disable the F11
key so users can't get to the container. After the macro runs, the F11 key
is not disabled and can still be pressed by users.
I realize I'm kludging along trying to make this work, but is there a good
VBA module that might address this need, or would it be better to disable
right clicking on a form when it loads then re-enable it when the form
closes? (seems like a bunch more code to maintain that could get scattered)
Thanks......