I would like to create a menu bar that contain nothing but a print and close icon. I can create a toolbar but when i change it to a menu bar the unwanted icon appear. I have explain in more detail in the attached file.
Any help will be appreciated.
I think you are on a loser here - I can't find it but I'm sure I've read somewhere that the application menu bar (be it standard or customised) will always have those three icons and there is no get around. Could be wrong of course. However, you can have no menu bar. Have you tried hiding the normal menu bar and just keep your bespoke toolbar as it is?
Sorry - my advice didn't work. It worked fine while you were in the app but the startup properties would display some sort of menu bar, even if it was empty, on startup. I also tried Mike's suggestion (at form level and on startup) and despite the help saying it should work my version of access kept failing (it would not accept that the entry was not the name of a macro). However, put this on the load event of your switchboard and hopefully things should happen. When this was working I had only one menu bar (the default menu bar) in my application and it was set to be visible:
finally got what I want. Your help is very much appreciated. I solve the problem by using your code in the switchboard Form event properties in the on current section. This allow the database to open without a menubar. I then created a toobar that is exactly what I wanted.