Hide Database objects

rhernand

Registered User.
Local time
Today, 00:27
Joined
Mar 28, 2003
Messages
96
I have an application that goes directly into the Switchboard with an Autoexec. When it was in the development phase, I would launch it and it would display the Switchboard, as I expected; however if I scolled down I could see and open all the database objects to continue with the development. I split the MDB and created an MDE. However, when I run the MDE I can still scroll down, view and open the database objects. How can I hide the database objects and the Menu Bar, while we at it? :confused:
 
In the .mdb goto Tools -> Startup and uncheck everything. Then remake an MDE
 
Autoexec

Well, I am back at the office. Tried this, but the Autoexec did not run after unchecking the Display Database Window. I put Switchboard in the Display Form/Page and it does display the Switchboard, however I Size and Place the Switchboard in my Autoexec. How can I run it, after unchecking the Display Database Window? :confused:
 
Hi.

I won't be able to help you too much i'm afraid, but here is a bit of info to consider (you may have already), taken directly from Access 2000 Help:

  • You can use the Startup dialog box instead of or in addition to an AutoExec macro. An AutoExec macro runs after the Startup options have taken effect; therefore, you should avoid any actions in an AutoExec macro that change the effect of the Startup option settings. For example, if you specify a form in the Display Form/Page box in the Startup dialog box, and you also use the OpenForm action in an AutoExec macro, Microsoft Access first displays the form specified in the Startup dialog box, then immediately displays the form specified in the OpenForm action.
I don't know why the autoexec wouldn't run when you hide the database window; it should.

wazz
 
Autoexec

Looked at the Error. Apparently, the Autoexec is being executed, but there is a problem with the MoveSize. I have no problem with it when the Database Window is not hidden and the Autoexec runs, sizing and moving the Switchboard where and how I want it. :mad:
 
Now Working

Moved the MoveSize just before the Openform(Switchboard) and now all working as expected.

Thanks all
 

Users who are viewing this thread

Back
Top Bottom