If mean you don't want the default document to load on startup, then this is the code:
// Parse command line for standard shell commands, DDE, file open
CCommandLineInfo cmdInfo;
ParseCommandLine(cmdInfo);
// ADD THIS LINE RIGHT HERE! ( AFTER the above lines!)
cmdInfo.m\_nShellCommand = CCommandLineInfo::FileNothing;
Add it in the InitInstance() of your apps class, and then make your selection dialog load and prompt user to select whatever they wanted! :) "Socrates is a man. All men are mortal. Therefore Socrates is mortal." -- Aristotle (syllogism) Cheers Masoud Samimi Go!