Open .MDB without Startup screen by code

  • Thread starter Thread starter Albert
  • Start date Start date
A

Albert

I'ld like to open another .MDB by coding and I don't want the startup screen
to be executed when .MDB is opened. I've tried by using
Application.OpenCurrentDatabase ... But startup screen is run. How can I
accomplish this task ?

TIA,
Albert
 
I suspect there is no way you can do this, except to modify the other
database through code, to disable the startup screen. Something like:

(untested)

dim db as database
set db = dbengine.opendatabase ("path to other database")
db.properties![ShowStartupScreen] = false
set db = nothing
' now OpenCurrentDatabase.

Then, of course, you would have to restore that setting before the startup
sceen would work again.

HTH,
TC
 
Back
Top