O'Reilly logo

Microsoft® Visual Basic® 2008 Step by Step by Michael Halvorson

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

Chapter 6. Using Decision Structures

After completing this chapter, you will be able to:

  • Write conditional expressions.

  • Use an If…Then statement to branch to a set of program statements based on a varying condition.

  • Use the MaskedTextBox control to receive user input in a specific format.

  • Short-circuit an If…Then statement.

  • Use a Select Case statement to select one choice from many options in program code.

  • Use the Name property to rename objects within a program.

  • Manage mouse events and write a MouseHover event handler.

In the past few chapters, you used several features of Microsoft Visual Basic 2008 to process user input. You used menus, toolbars, dialog boxes, and other Toolbox controls to display choices for the user, and you processed input by using ...

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