Unles you want to permanently lose the toolbar you have to set the database startup properties to hide the toolbar.
When you start Access the default bar shows until the MDB loads. You can't interact with it during that time but it looks messy.
You might be able to put code like the above in a VB script and launch your app from the script, thereby getting the command in before the toolbar gets displayed. I can't remember the exact syntax but something like
dim appaccess as new("access.application"
appaccess.commandbars("menu bar".enabled=false
might do it. You then have to set it back after the MDB has loaded but before the script ends.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.