With the release of the Microsoft .NET platform comes a new version of Visual Basicdramatically unlike its predecessors. So extensive are the changes, in fact, thatsome VB programmers argue that Visual Basic .NET is an entirely new programminglanguage. In the updated second edition of this popular book, you will find completedocumentation for the Visual Basic .NET language.
Beginning with a brief overview of the language, VB.NET Language in aNutshell covers basic programming concepts, and introduces the .NET FrameworkClass Library and programming with attributes. The bulk of the book consists of analphabetical reference to Visual Basic .NET statements, procedures, functions, andobjects. Each entry has a standardized listing containing the followinginformation:
Its syntax, using standard coding conventions
Differences in the operation of the keyword in Visual Basic .NETand in VB 6.0
A list of arguments accepted by the function or procedure
A description of the data type returned by a function
The finer points of a language element?s usage that are oftenomitted from or blurred over by other sources
Tips and warnings that include undocumented behaviors and practicalapplications for particular language elements
An invaluable section for diagnosing or avoiding potentialprogramming problems
A cross-reference to related keywords
On the CD-ROM (included with print edition of the book) is a plug-in that adds acopy of the book's language reference to the dynamic help within Visual Studio .NET.The plug-in requires any edition of Visual Basic .NET or Visual Studio .NET.
No matter how much experience you have programming with VB, you want this bookclose by, both as a standard reference guide and as a tool for troubleshooting andidentifying programming problems.
Chapter 1 Introduction
What Is VB.NET?
What Can You Do with VB.NET?
Chapter 2 Program Structure
Getting a VB Program to Run
The Structure of a VB Program
Chapter 3 Variables and Data Types
Declaring Variables and Constants
Object Variables and Their Binding
The Collection Object
Parameters and Arguments
Chapter 4 Introduction to Object-Oriented Programming
Why Learn Object-Oriented Techniques?
Principles of Object-Oriented Programming
Classes and Objects
Interfaces, Abstract Members, and Classes
Polymorphism and Overloading
Accessibility in Class Modules
Chapter 5 The .NET Framework: General Concepts
Common Language Runtime (CLR), Managed Code, and Managed Data
Assemblies and VB.NET
Chapter 6 The .NET Framework Class Library
The System Namespace
Chapter 7 Delegates and Events
Events and Event Binding
Chapter 8 Attributes
Syntax and Use
Defining a Custom Attribute
Using a Custom Attribute
Chapter 9 Error Handling in VB.NET
Error Detection and Error Handling
Runtime Error Handling
Dealing with Logical Errors
Chapter 10 The Language Reference
Appendix What’s New and Different in VB.NET
Language Changes for VB.NET
Changes to Programming Elements
Obsolete Programming Elements
Structured Exception Handling
Changes in Object-Orientation
Appendix Language Elements by Category
Date and Time
Integrated Development Environment
Program Structure and Flow
Logical and Bitwise Operators
Appendix Constants and Enumerations
Visual Basic Intrinsic Constants
Visual Basic Enumerations
Appendix The VB.NET Command-Line Compiler
Using a Response File
Appendix VB 6 Language Elements Not Supported by VB.NET
Our look is the result of reader comments, our own experimentation, and feedback from distribution channels. Distinctive covers complement our distinctive approach to technical topics, breathing personality and life into potentially dry subjects. The animal on the cover of VB.NET Language in a Nutshell, Second Edition, is a catfish. Catfish can be found all over the world, most often in freshwater environments. Catfish are identified by their whiskers, called "barbels," as well by as their scaleless skin; fleshy, rayless posterior fins; and sharp, defensive spines in the dorsal and shoulder fins. Catfish have complex bones and sensitive hearing. They are omnivorous feeders and skilled scavengers. A marine catfish can taste with any part of its body.Though most madtom species of catfish are no more than 5 inches in length, some Danube catfish (called wels or sheatfish) reach lengths of up to 13 feet and weights of 400 pounds. Wels catfish (found mostly in the U.K.) are dark, flat, and black in color with white bellies. They breed in the springtime in shallow areas near rivers and lakes. The females hatch eggs in their mouths and leave them on plants for the males to guard. Two to three weeks later, the eggs hatch into tadpole-like fish, which grow quickly in size. The largest recorded wels catfish was 16 feet long and weighed 675 pounds. Catherine Morris was the production editor and proofreader for VB.NET Language in a Nutshell, Second Edition. Ann Schirmer assisted with the copyedit. Sarah Sherman and Claire Cloutier provided quality control. Judy Hoer wrote the index.Pam Spremulli designed the cover of this book, based on a series design by Edie Freedman. The cover image is a 19th-century engraving from the Dover Pictorial Archive. Emma Colby produced the cover layout with QuarkXPress 4.1 using Adobe's ITC Garamond font.David Futato designed the interior layout, based on a series design by Nancy Priest. Neil Walls converted the files from Microsoft Word to FrameMaker 5.5.6 using tools created by Mike Sierra. The text and heading fonts are ITC Garamond Light and Garamond Book. The illustrations that appear in the book were produced by Robert Romano and Jessamyn Read using Macromedia FreeHand 9 and Adobe Photoshop 6. This colophon was written by Linley Dolby.
Comments about O'Reilly Media VB.NET Language in a Nutshell, 2nd Edition:
I can't believe you let Mr. Roman write another book...
Although I received this book as a gift, I likely would have purchased it myself, as I am very excited about the prospects of .NET, and am anxious to begin using .NET technologies.
It took no time at all to discern the portions of the text written by Mr. Roman. The degree of superfluity increases exponentially in his sections, and in some instances, borders on inaccuracy. In particular, having spent a great deal of time in ASP and web-based user interfaces myself, the frequent characterizations of VB6 as a technology inadequate for web development struck me as ill-considered.
The perfect example of Mr. Romans nascent desire to display his technological prowess can be found on page 36 of my first edition - the formal, mathematical definition of an array. The section is set off by itself, is not referred to again in the text, and is even qualified with the following:
"Many authors of programming books misuse the terms associated with arrays, so let's begin by establishing the correct terminology. In fact, if you will indulge us, we would like to begin with a formal definition of the term array."
Since I've been misusing the terms associated with arrays for all of these years, maybe I'll just be better off if I skip VB.NET, and try C# instead.