[AccessD] Startup Properties / Hide All toolbars and menus

Jim Hewson JHewson at karta.com
Tue Jun 19 13:53:11 CDT 2007


For the default shortcut menus the it should read:
ChangeProperty "AllowShortcutMenus", dbBoolean, False

I did the research for this yesterday - because I had the same issue.

Jim 
jhewson at karta.com
 
-----Original Message-----
From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gale Perez
Sent: Tuesday, June 19, 2007 11:53 AM
To: accessd at databaseadvisors.com
Subject: [AccessD] Startup Properties / Hide All toolbars and menus

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
-- 
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com




More information about the AccessD mailing list