You can hide the database window by selecting Tools|Startup on the main
database menu bar and unchecking 'Display Database Window'. Users will still
be able to open it with the F11 key, however, so you should also uncheck 'Use
Access Special Keys' in the same dialogue.
Note that if you've used code which selects an object in the database
window, e.g. a report to be printed using the PrintOut method of the DoCmd
object this will display the database window regardless of the above
settings, so you need to avoid that. With a report the way is to open it
transparently in print preview, print it and then close it again.
The above must be done in the original .mdb file of course before creating
the .mde file from it.
If you want to disable the by-pass key so that the startup options can't be
by-passed by holding down the Shift key you can do this in code by setting
the database object's AllowBypassKey property to False in code.
Ken Sheridan
Stafford, England