Hiding ALL Command Bars

S

Sandy C.

My application is driven entirely from buttons on my
forms. I would like to HIDE the standard command
bar "Menu Bar".

On my startup form, I have:
CommandBars("Menu Bar").Visible = False

This causes a command bar to be displayed that has File,
Window, and Help. It also causes the application to stop
processing (does not show the startup form).

How can I NOT display any command bars?
 
J

Jamie

Hi Sandy,

You can't remove all the menus, but you can create your own menu bar as
described in this article: http://jamiessoftware.tk/articles/menubars.html
and only display this. A simple File - Exit command can be created in a few
seconds as a basic minimum.

Next select Tools - Start-up from the main menu and uncheck the "Allow Full
Menus" and "Allow Built in Toolbars" options. In the "Menu Bar" combo box
select the menu bar that you created. Close and then open your mdb.

On a final note to bypass these options you can hold the shift key down when
opening your mdb and this will let you work on it.

Jamie
 
Top