1. Home
  2. Computing & Technology
  3. Visual Basic

By , About.com Guide

Chapter 5 - VB.NET Language and Syntax - Part 2

Tutorial

More on Numbers and VB.NET

If you're interested in digging into numbers as used by computer systems in general, you might want to try the About Visual Basic article, Computer Number Systems.

You can tie together the concepts that I presented in my suggestions for changing the MsgBox code in the Variable Test program earlier with the book's comments about User-Defined Data Types and Constants. Recall the MsgBoxResult and MsgBoxStyle types from earlier in this lesson. These are nothing more than types that VB.NET has defined in much the same way that the book describes in User-Defined Data Types. And the enumeration values, vbYesNoCancel and Information that are added together to get the "magic number" 67 are defined by VB.NET much like the user constant Pi in the book.

--please complete the text up to the Working with Visual Basic Operators section of Chapter 5 now-----

  1. How to use InputBox and MsgBox as the first examples of function statements
  2. "Magic" Numbers in the Code
  3. Trying Out Changes in the Book's Code
  4. Windows Form Designer Generated Code
  5. More on Numbers and VB.NET
  6. Math and Programming
  7. Examples of the Math Operators
  8. What Should Have Been Included in the Book
  9. Qualifying With System.Math
  10. The Bottom Line!

<< Previous | Next >>

Explore Visual Basic
By Category
About.com Special Features

Holiday Central

What to eat, where to go, fun things to do and how to save money on the perfect gifts. More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  1. Home
  2. Computing & Technology
  3. Visual Basic

©2009 About.com, a part of The New York Times Company.

All rights reserved.