O'Reilly logo

Application Development Using Visual Basic® and .NET by Dana L. Wyatt, Peter Thorsteinson, Robert J. Oberg

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Common Dialog Controls

VB.NET supports the Windows Common Dialogs. These dialogs are part of the Windows operating systems and are available for all applications to use. In VB.NET, they are provided as controls and include the following:

  • OpenFileDialog

  • SaveFileDialog

  • ColorDialog

  • FontDialog

  • PrintDialog

  • PrintPreviewDialog

  • PageSetupDialog

These dialogs provide part of the consistency that you find in the look and feel of all Windows applications.

Each of these controls has different properties that can be used to interact with the data they collect. For example, the ColorDialog has a Color property to access the color the user selected and the FontDialog has a Font property to access the font the user selected. In addition, the ShowDialog method, which ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required