Application without any menu bar?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have unchecked all the check boxes in Startup window.For the menu bar, I
think, I didn't find the option of turning off the menu.The (default) menu is
always there if I don't select the custom menu bar created by me.Can I have
an application without any menu bar?
 
I gave the last answer as it the most foolproof but
you can plce this code on your opening screen

But But But But

Make sure you know who to get the menu bars for when you need them - I have
given a small bit of code for this below

This is to REMOVE TOOL BARS

Dim i As Integer
For i = 1 To CommandBars.Count
CommandBars(i).Enabled = False

This is to put the menu bars back

Dim i As Integer
For i = 1 To CommandBars.Count
CommandBars(i).Enabled = True

Best bet would be to put this behind a right click or something else that
you wont forget.

Hope this helps
 
I would actually include a very simple custom menu bar...even if it just has
a "exit" on it.

For the last 15 years, virtually any problem I ever installed, or used on my
machine has a menu bar...so, you go against a very large amount of history
to all of a sudden come up with the idea that you will not have any menus in
your application.....

You most certainly can, and should hide all of the ms-access interface. The
options to complete hide and keep people out of the ms-access interface can
easily be done using the tools->start-up options. Using those options allows
you to complete hide the ms-access interface (tool bars, database window
etc). Also, using these options means you do not have to bother setting up
security.

Try downloading and running the 3rd example at my following web site that
shows a hidden ms-access interface, and NO CODE is required to do
this....but just some settings in the start-up.

Check out:

http://www.members.shaw.ca/AlbertKallal/msaccess/DownLoad.htm

After you try the application, you can exit, and then re-load the
application, but hold down the shift key to by-pass the start-up options. If
want, you can even disable the shift key by pass. I have a sample mdb file
that will let you "set" the shift key bypass on any application you want.
You can get this at:

http://www.members.shaw.ca/AlbertKallal/msaccess/msaccess.html
 
Anand said:
I have unchecked all the check boxes in Startup window.For the menu
bar, I think, I didn't find the option of turning off the menu.The
(default) menu is always there if I don't select the custom menu bar
created by me.Can I have an application without any menu bar?

Beware that the main menu bar in an Access applicaton is also where the Close,
Restore, and Minimize buttons are placed when an object is maximized. With NO
menu a maximized object can be "stuck" that way.
 
Back
Top