[AccessD] Startup Properties / Hide All toolbars and menus

Doug Murphy dw-murphy at cox.net
Tue Jun 19 13:04:28 CDT 2007


I don't think this is an Access issue.  When Adobe Acrobat is set to start
when the computer is started it inserts itself into all the Office menus
when an Office application is opened.  You can verify this by going into
MSConfig and turning off Acrobat in the things that start with the computer.
After you restart the computer Acrobat will not be in the Office menus.

I just looked at an application that we created that uses a custom menu, and
is distributed as a runtime.  When on computers with the full version of
Acrobat the pdf command shows up in the custom menu. 

If you can figure out how to disable Acrobat from inserting itself I'd like
to know how you do it.

Doug

 

-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby
Sent: Tuesday, June 19, 2007 10:12 AM
To: 'Access Developers discussion and problem solving'
Subject: Re: [AccessD] Startup Properties / Hide All toolbars and menus

That might have been me.  I haven't tested the code with 2003, and I don't
have time to do so right now so I cant help you much I'm afraid.  It sounds
like a bug in 2003 though to be honest.

John W. Colby
Colby Consulting
www.ColbyConsulting.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 12:53 PM
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

--
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