PDA

View Full Version : Is it possible to create a mdb without menubar?



prabhafriend
12-09-2010, 03:38 AM
Is it possible to create a mdb without menubar? I'm just going to execute one function in the autoexec. that's all I want. I don't need any UI at all. How to achieve this?

Imdabaum
12-10-2010, 08:20 AM
If that's all you're going to do, then why worry about the UI at all? Just include DoCmd.Quit at the end of your macro. The form loads, runs the macro and then closes. While running a macro or query your customers will have a hard time accessing the menu even if your app does stay open for extended period of time.

Edit: But the answer to your question, is yes. In Access versions pre-2007 you can create a custom menu and set in your options to load that customMenubar in place of the default menu.
In 2007/2010 you can create a custom ribbon with startfromscratch=true and set the options to use the custom Ribbon.