Nov 28 2004, 10:36 AM
How can I ensure that the database window will be hidden on startup? I know how to do it on my machine, but I'm not sure if the other machines that will run the database will be set the same way.
Nov 28 2004, 10:39 AM
Everything in Startup in the options menu is specific to the database, not the computer. You can check this by opening a different database on your own computer where it's not set to hide. You'll see the DB window. Then open the original again, and the DB window should not appear.
Nov 28 2004, 10:43 AM
Thanks. Is this also true for hiding menus?
Nov 28 2004, 10:53 AM
Never having hidden menus, I'm not sure but the rule is that if an option is within the Startup options, it's for the database. If it's anywhere else, it's set for the computer.
Nov 28 2004, 11:39 AM
If you uncheck the menu's in the startup window you will still be left with the File, Window and Help menu's.
If you want to hide all menu's you can do that with code.
' Disable all Menus and Toolbars
Dim i As Integer
For i = 1 To CommandBars.Count
CommandBars(i).Enabled = False
This would be called in the On Load or On Open event of the first form that opens in the database.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here