Cover image for VB.NET language in a nutshell : a desktop quick reference
VB.NET language in a nutshell : a desktop quick reference
Roman, Steven.
Personal Author:
First edition.
Publication Information:
Sebastopol, CA : O'Reilly, [2001]

Physical Description:
xvi, 636 pages : illustrations ; 23 cm
General Note:
Includes index.
Title Subject:
Format :


Call Number
Material Type
Home Location
Item Holds
QA76.73.B3 R657 2001 Adult Non-Fiction Central Closed Stacks

On Order



The extensive changes to Visual Basic and the newness of the .NET platform call for a VB .NET reference guide oriented toward professional developers--those deeply experienced in Visual Basic and those adding VB .NET to their list of mastered languages. VB .NET Language in a Nutshell answers the call. As a reference book, it doesn't waste space on simple concepts, but documents, using practical examples, how language elements work, alternative approaches, optimal usage, and potential pitfalls.As a quick introduction, the first section of VB .NET Language in a Nutshell leads you through the important areas of programming VB .NET, including:

Variables and Data Types Introduction to Object Oriented Programming The .NET Framework: General Concepts The .NET Framework Class Library Delegates and Events Error Handling The meat of the book is the alphabetical reference to the functions, statements, directives, objects, and object members that make up the VB .NET language. As an experienced developer, you can quickly get the whole story on a language element that interests you or seems to be behaving unexpectedly in your code. To ease your transition to .NET, there's a "VB .NET/VB 6 Differences" section for each language element.A hefty appendix section includes: What's New and Different in VB .NET Language Elements by category Operators Constants and Enumerations The VB .NET Command Line Compiler VB 6 Language Elements Not Supported by VB .NET No matter how much experience you have programming with VB, this is the kind of book you'll want to have close by, both as your standard reference guide and as a tool for troubleshooting and identifying programming problems.

Author Notes

Ron Petrusha is an editor for O'Reilly and is the author/coauthor of many books, including VBScript in a Nutshell. Ron has a background in quantitative labor history, specializing in Russian labor history, and holds degrees from the University of Michigan and Columbia University. He began working with computers in the mid 1970s, programming in SPSS (a programmable statistical package) and FORTRAN on the IBM 370 family. Since then, he has been a computer book buyer, an editor of a number of books on Windows and Unix, and a consultant on projects written in dBASE, Clipper, and Visual Basic.

Paul Lomax, author of O'Reilly's VB & VBA in a Nutshell and a coauthor of VBScript in a Nutshell, is an experienced VB programmer with a passion for sharing his knowledge--and his collection of programming tips and techniques gathered from real-world experience.

Table of Contents

Prefacep. ix
Part I The Basics
Chapter 1 Introductionp. 3
Why VB .NET?p. 4
What Is VB .NET?p. 8
What Can You Do with VB .NET?p. 14
Chapter 2 Variables and Data Typesp. 15
Variablesp. 15
Declaring Variables and Constantsp. 19
Data Typesp. 21
Arraysp. 36
Object Variables and Their Bindingp. 39
The Collection Objectp. 41
Parameters and Argumentsp. 42
Chapter 3 Introduction to Object-Oriented Programmingp. 47
Why Learn Object-Oriented Techniques?p. 47
Principles of Object-Oriented Programmingp. 47
Classes and Objectsp. 52
Inheritancep. 60
Interfaces, Abstract Members, and Classesp. 65
Polymorphism and Overloadingp. 68
Scope and Accessibility in Class Modulesp. 69
Chapter 4 The .NET Framework: General Conceptsp. 72
Namespacesp. 72
Common Language Runtime (CLR), Managed Code, and Managed Datap. 73
Managed Executionp. 74
Assembliesp. 74
Assemblies and VB .NETp. 76
Chapter 5 The .NET Framework Class Libraryp. 78
The System Namespacep. 79
Other Namespacesp. 84
Chapter 6 Delegates and Eventsp. 89
Delegatesp. 89
Events and Event Bindingp. 93
Chapter 7 Error Handling in VB .NETp. 97
Error Detection and Error Handlingp. 97
Runtime Error Handlingp. 98
Dealing with Logical Errorsp. 107
Error Constantsp. 109
Part II Reference
Chapter 8 The Language Referencep. 113
Part III Appendixes
Appendix A What's New and Different in VB .NETp. 563
Appendix B Language Elements by Categoryp. 580
Appendix C Operatorsp. 594
Appendix D Constants and Enumerationsp. 603
Appendix E The VB .NET Command-Line Compilerp. 612
Appendix F VB 6 Language Elements Not Supported by VB .NETp. 618
Indexp. 621