[AccessD] Startup Properties / Hide All toolbars and menus

Gale Perez galeper at gmail.com
Tue Jun 19 11:53:07 CDT 2007


Hi!

Sometime ago, someone on this list provided a function to set/unset startup
properties to disallow certain features:

Sub SetStartupProperties()

    ChangeProperty "AllowFullMenus", dbBoolean, False
    ChangeProperty "AllowSpecialKeys", dbBoolean, False
    ChangeProperty "StartupShowDBWindow", dbBoolean, False
    ChangeProperty "StartupShowStatusBar", dbBoolean, False
    ChangeProperty "AllowBuiltinToolbars", dbBoolean, False
    ChangeProperty "AllowToolbarChanges", dbBoolean, False
    Application.SetOption "Show Hidden Objects", False
    ChangeProperty "AllowBreakIntoCode", dbBoolean, False
    ChangeProperty "AllowBypassKey", dbBoolean, False


End Sub

This code seemed to work just fine with Access 1997, but with 2003,
the "File, Window, Help, Adobe PDF" portions of the menu are still showing
up.  I also need to hide shortcut menus and tried adding ChangeProperty
"AllowDefaultShortcutMenus", dbBoolean, False (also tried it with
spaces, "Allow Default Shortcut Menus"), but that didn't do it.  Is there
another way to do this?

Thank you so much for any assistance.

Gale



More information about the AccessD mailing list