Visual Basic 2005 data types and variables -- book excerpt

This free book excerpt from Visual Basic 2005: The Complete Reference by Ron Petrusha offers an introduction to the various new features Visual Basic 2005 and how they compare to the what developers are used to in VB 6. There are chapters devoted to Visual Basic topics such as event-driven programming, exception handling and the class library; there is also a guide to the new My Namespace and a huge primer on more than 250 language elements.

More information about Visual Basic 2005

Read Chapter 4 of this book "Object-Oriented Programming"

Visual Basic 2005 adds useful drag-and-drop objects

Visual Basic 2005 FAQ

Chapter 2, "Data Types and Variables," begins with an examination of the data types intrinsic in Visual Basic 2005, how they are used and how they compare to data types in VB 6. The second half of the chapter covers the rules for declaring and initializing variables in Visual Basic 2005 and offers hints about variable scope, lifetime and binding.

Read the excerpt in this PDF.

Excerpted from the McGraw-Hill book, Visual Basic 2005: The Complete Reference (ISBN 0-0722-6033-5) by Ron Petrusha.

Copyright © 2006. Published by McGraw-Hill Professional Books. Reprinted with permission.

This was first published in October 2007

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.