473,394 Members | 1,701 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Menu Bar Startup Options via VBA

Hello.

Re: Access 2002-SP3
I have some options turned off under "Tools/Startup" area on my
workstation. When I deploy my app to 5 users (who will all have a full
blown version of Access 2002 on their PC's) I would like to disable
some startup options programatically at runtime via VBA.

I am looking for VBA code to turn off these options at application
startup and turn them back on for the user when they shutdown my app:

"Allow Full Menus"
"Allow default Shortcut Menus"
"Allow Built-in Toolbars"
"Allow Toolbar/Menu Changes"
"Use Access Special Key"

Also, without changing the menu bars, is there a way via VBA to disable
only the databasewindow icon (the one that pops the DBWindow container)
at startup, (leaving all other toolbar icons alone) then enable the
databasewindow icon back when my app shuts down?

Any assistance is appreciated.
Thank you.

Nov 13 '05 #1
2 3167
TechBoy wrote:
Hello.

Re: Access 2002-SP3
I have some options turned off under "Tools/Startup" area on my
workstation. When I deploy my app to 5 users (who will all have a
full blown version of Access 2002 on their PC's) I would like to
disable some startup options programatically at runtime via VBA.

I am looking for VBA code to turn off these options at application
startup and turn them back on for the user when they shutdown my app:

"Allow Full Menus"
"Allow default Shortcut Menus"
"Allow Built-in Toolbars"
"Allow Toolbar/Menu Changes"
"Use Access Special Key"


This can be done, but as "Startup Options" the code will only affect what
happens "the next time" the file is opened, not what is available in the
current session. Is there some reason you don't just set these properties
BEFORE you distribute?

--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com
Nov 13 '05 #2
Hi Rick,
Thank you for your reply.
Is there some reason you don't just set these properties

BEFORE you distribute? <<

yes. I don't want the users to be able to go to
Tool/Startup/StartupOptions and click checkboxes to turn all the menus
on and thus be able to get to the DBWindow and jimmy with the data and
possibly corrupt it and/or the table relationships..
My desire to set them via VBA (via an .mde version) inside the app at
startup would prevent the power users from getting to the DBWindow.
This app has some sensitive data in it.

Nov 13 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Nathan Bloom | last post by:
Hi, I was wondering if there was any way to disable certain menu items and toolbar icons at runtime using VBA? Particularly the delete icon on the tool bar and the delete option under edit. I...
7
by: cefrancke | last post by:
I cant seem to find a straight answer on the following. I want to programmatically hide all menus except a basic custom report menu (during report preview) and right click pop-up A-Z sorting on...
1
by: windandwaves | last post by:
Hi Folk I am building an access application and one thing that I am having trouble with is menu bars, tool bars and other start-up procedures. What I want is hide all the menu bars and...
6
by: daniel.sumanth | last post by:
Hello, Have customized the menu options in Access 2000 in a computer. However, it seems that the customizations apply only when I'm logged in and not to other users. Is there any way to use the...
17
by: rdemyan via AccessMonster.com | last post by:
I have a launcher program that creates the shortcut to open my application using the Shell command. On the form I have a decompile checkbox that I can conveniently use to decompile my program. I...
7
by: PsyClone | last post by:
Hey all, I want to burn an access database to a disc, and give it to someone else. Is there anything i need to do to ensure that the custom menu bar I created for the startup form goes with it,?...
5
by: lorirobn | last post by:
Hi, I am trying to create two custom menu bars for my application, one for read-only users (without delete record), and one for update-access users (with delete record). I only need File and...
7
by: John | last post by:
Is it possible to start an acces application without any menu item? I unchecked all possible check boxes in the startup section but still I see the options 'File', 'Window', and 'Help'. I would...
2
by: RLN | last post by:
I was at this link to add a menu bar to my Access app. http://office.microsoft.com/en-s/access/HP051890341033.aspx I got the menu bar added, but had some more questions about it. In the link...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.