Full Version: Disable security features on startup
UtterAccess Discussion Forums > Microsoft® Access > Access Forms
chippyles
I have some security measures that I disable when the startup form executes for certain users.

CODE
    DoCmd.SelectObject acTable, , True
    DoCmd.RunCommand acCmdWindowHide
    ChangeProperty "StartupShowDBWindow", dbBoolean, True
    ChangeProperty "StartupShowStatusBar", dbBoolean, True
    ChangeProperty "AllowBuiltinToolbars", dbBoolean, True
    ChangeProperty "AllowFullMenus", dbBoolean, True
    ChangeProperty "AllowBreakIntoCode", dbBoolean, True
    ChangeProperty "AllowSpecialKeys", dbBoolean, True
    ChangeProperty "AllowBypassKey", dbBoolean, True


One of these lines of code disables the ability to right click the shortcut menu. I have to physically hold the shift button down and restart the application in order to bring back the ability to view the right click menu. Am I missing a line of code that I need to apply to the start up form.
chippyles
Any help here??
chippyles
Anything??
Aquadevel
Why didn't you just 'disable' all those in the Startup?
Just wondering why 'certain' users need access to this area of an application, and not just the develper/admin.

Anyway, my 2 1/2 cents worth.

Happy & Safe holidays!!!!

Aqua
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.