O'Reilly logo

Special Edition Using Microsoft® Visual Basic® .NET by Jeff Spotts, Brian Siler

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

Creating Your Own Dialog Boxes

Although the CommonDialog class provides you with several types of dialog boxes to use in your programs, sometimes you just can’t accomplish certain tasks with these built-in tools. For example, if you want to set your own captions for the command buttons in a dialog box, you can’t use the message box; nor can the message box handle more than three buttons (not including the Help button). Also, you may need to present a dialog box that asks the user several questions at once. If your program needs dialog box capabilities that the Dialog controls can’t offer, you can simply use a standard Windows form to create your own custom dialog box.

Visual Basic’s Dialog Box Features

Visual Basic .NET provides several features ...

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