Did you attempt this by deselecting "Display database window" in the startup options?
If so, you can by pass this by holding the "Shift" key when opening the database. You can then reset your startup options.
If you used code etc, then I will leave that to the real experts.
Brad.