I'm attempting to instantiate a Common Dialog box via code.. however it doesnt' appear that this is an option. The code will execute before any forms are loaded from within the Sub Main () so there's no forms in memory to put an object on. I'm trying to use this as a pointer to a Database and if the user doesn't specify or it's not found the program should terminate before anything is loaded. Any suggestions?

ie:

DIM objCommon as CommonDialog

Set objCommon = New ????

Eiredrake