From
http://www.xcelfiles.com/comdlg.html:
The Win32® Common Dialog API functions are located in COMDLG32.DLL, which must be in the Windows system directory for the dialog interface to function.
The Common Dialog functions provide a standard set of Windows dialog boxes for operations such as opening, saving, and printing files, or selecting colors and fonts. The class creates objects that, with the exception of an object instantiation line, are code-compatible with Visual Basic's Common Dialog control.
Programs using the Visual Basic Common Dialog control require that COMDLG32.OCX be available and correctly registered. (Note this is the control and NOT the Dll, which all Windows systems have) If the Common Dialog class is included as a class module in a Visual Basic project, no other files are required. If the class is compiled as an in-process server, the resulting DLL will need to be available at run time and must be correctly registered.
The Win32 Common Dialog object is easier to use than the Visual Basic Common Dialog control because it doesn't need to be a part of a form, so there is less over head ie you don't need to have the users ensure that they have this control. The Common Dialog object (DLL) provides the same methods and properties as the Common Dialog control (OCX) and it can be used to replace the Common Dialog control in existing projects with very little modification to code.
Bookmarks