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
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.
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