Chapter 5. Visual Basic Variables and Formulas and the .NET Framework

After completing this chapter, you will be able to:

  • Use variables to store data in your programs.

  • Get input by using the InputBox function.

  • Display messages by using the MsgBox function.

  • Work with different data types.

  • Use variables and operators to manipulate data.

  • Use methods in the .NET Framework.

  • Use arithmetic operators and functions in formulas.

In this chapter, you’ll learn how to use variables and constants to store data temporarily in your program, and how to use the InputBox and MsgBox functions to gather and present information by using dialog boxes. You’ll also learn how to use functions and formulas to perform calculations, and how to use arithmetic operators to perform ...

Get Microsoft® Visual Basic® 2010 Step by Step 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.