Dialog Box Changes for Visual Basic 6.0 Users 

The methods for displaying dialog boxes in Visual Basic 2005 differ from those in Visual Basic 6.0.

Conceptual Differences

In Visual Basic 6.0, a form can be displayed as a modal dialog box by calling the Show method with a parameter of vbModal.

In Visual Basic 2005, the ShowDialog method is used to display a form modally; the Show method is used to display a form non-modally.

In addition, the Visual Basic 6.0 CommonDialog control provides several predefined dialog boxes. In Visual Basic 2005, this control is replaced by the ColorDialog control, the FontDialog control, the OpenFileDialog control, the PageSetupDialog control, the PrintDialog control, the PrintPreviewDialog control, and the SaveFileDialog control.

See Also

Community Additions

ADD
Show: