Using Message Boxes to Keep the User Informed

A big part of any programming project is providing information to your users about the program’s progress and status. Although the forms and controls of your program provide the main interface to the users, they are not necessarily the best vehicles for providing bits of information that require immediate attention, such as warnings or error messages. For providing this type of information, a message box is often the best means of communication.

Understanding the Message Box

A message box is a simple form that displays a message and at least one command button to the user. The button is used to acknowledge the message and close the form. Because message boxes are built in to the .NET framework, ...

Get Special Edition Using Microsoft® Visual Basic® .NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.