Chapter 6. Message and Input Boxes

In this and subsequent lessons, your application will need to display messages and ask questions of the user. The application needs to receive the user's response from the questions. Although the Label and Text Box controls work well for giving and receiving user information, such controls don't lend themselves to messages and questions that the program displays during execution, such as error messages and warning boxes.

For example, suppose you want to know if the user has prepared the printer for printing. To prepare a printer, the user has to turn on the printer, make sure paper is there, and ensure that the online light is on. Your program should not attempt to print a report until the user has performed these ...

Get Sams Teach Yourself Visual Basic® 6 in 24 Hours 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.