The Visual Basic .NET Programming Language
Paul Vick

ISBN-10: 0321169514
ISBN-13: 9780321169518

Publisher: Addison-Wesley Professional
Copyright: 2004
Format: Paper; 432 pp
Published: 03/01/2004

Suggested retail price: $49.99
Buy from myPearsonStore

This book describes the Visual Basic .NET programming language, starting with the simplest concepts first and gradually working up to the most advanced concepts. In this way it can be used both as a guide to the language for people new to VB .NET, as well as a reference for experienced VB .NET developers. While there are many books on the market on Visual Basic .NET, there are very few references, and no others from any core member of the Visual Basic development team. The tech reviewers have praised the clear writing style, the concise yet thorough coverage, the usefulness of the examples, and the effectiveness of the organization. Reviewers have also noted many topics not covered in other books, or not covered nearly as well, including events, delegates, versioning, obsoleting code, and using shadowing. Data collected by Microsoft indicate that the long-awaited move from Visual Basic 6 to Visual Basic .NET should be in full swing as this book releases. A June 2003 survey conducte by Readex for SD Times shows usage of Visual Basic .NET among professional developers moving from 32% currently to 46% by June of 2004, a huge jump.The Visual Basic .NET Programming Language is the one book that all VB professionals will need to have on their desk.

The authoritative, must-have guide to Visual Basic .NET for all Visual Basic programmers, straight from the author of the language spec!

° This praise from Bill Gates will be prominent on the front cover: "this book is the definitive language reference for VB."

° Practical - complete yet concise coverage, clear writing style, useful example code explaining all key points, and easy to follow organization

° Timely - recent studies indicate that the long-awaited migration from VB6 to VB .NET is about to occur



Figures.


Tables.


Preface.


1. Language Overview.

Hello, World!

Fundamental Types.

Arrays.

Statements.

Exception Handling.

Memory Management.

Classes, Structures, and Modules.

Fields.

Methods.

Properties.

Events.

Namespaces.

Delegates.

Inheritance.

Interfaces.

Attributes.

Versioning.

Conclusion.



2. Basic Concepts.

Language Fundamentals.

Declarations and Names.

Accessibility.

The .NET Framework.

Conclusion.



3. Fundamental Types.

Boolean.

Integer Data Types.

Floating-Point Data Types.

Decimal Data Type.

Char and String Data Types.

Date Data Type.

Object Data Type.

Conversions.

Conclusion.



4. Arrays and Enumerations

Arrays.

Enumerations.

Conclusion.



5. Operators.

Precedence.

Operator Resolution.

Arithmetic Operators.

Comparison Operators.

Logical and Bitwise Operators.

Shift Operators.

String Operators.

Type Operators.

Constant Expressions.

Conclusion.



6. Statements.

Local Declaration Statements.

Assignment.

With Statement.

Conditional Statements.

Looping Statements.

Branching Statements.

Program Flow Statements.

SyncLock.

Conclusion.



7. Exceptions.

Throwing Exceptions.

Structured Exception Handling.

Unstructured Exception Handling.

Conclusions.



8. Modules and Namespaces.

Modules.

Namespaces.

Imports.

Preprocessing.

Conclusion.



9. Classes and Structures.

Memory Management.

Value Types and Structures.

Reference Types and Classes.

Shared versus Instance.

Constructors.

Nested Types.

Finalization and Resource Disposal.

Conclusion.



10. Methods.

Subroutines and Functions.

Parameters.

Method Invocation.

Overloading.

Declare Statements.

Conclusion.



11. Fields and Properties.

Fields.

Properties.

Conclusion.



12. Events and Delegates.

Defining and Raising Events.

Declarative Event Handling.

Handling Events Dynamically.

Delegates.

Delegates and Event Implementation.

Conclusion.



13. Inheritance.

Protected Accessibility.

Conversions.

The .NET Framework Type Hierarchy.

Overriding.

Abstract Classes and Methods.

Conclusion.



14. Interfaces.

Defining Interfaces.

Implementing Interfaces.

Consuming Interfaces.

Interface Inheritance.

Conclusion.



15. Attributes.

Applying Attributes.

Defining Attributes.

Storing and Reading Attributes.

Conclusion.



16. Versioning.

Shadowing.

Overloading.

Obsolete.

Conclusion.



Appendix A. Runtime Functions.

AppWinStyle Enumeration.

CallType Enumeration.

Collection Class.

ComClassAttribute Attribute.

CompareMethod Enumeration.

Constants Module.

ControlChars Class.

Conversion Module.

DateAndTime Module.

DateFormat Enumeration.

DateInterval Enumeration.

DueDate Enumeration.

ErrObject Class.

FileAttribute Enumeration.

FileSystem Module.

Financial Module.

FirstDayOfWeek Enumeration.

FirstWeekOfYear Enumeration.

Globals Module.

Information Module.

Interaction Module.

MsgBoxResult Enumeration.

MsgBoxStyle Enumeration.

OpenAccess Enumeration.

OpenMode Enumeration.

OpenShare Enumeration.

Strings Module.

TriState Enumeration.

VariantType Enumeration.

VbStrConv Enumeration.

VBMath Module.

VBFixedArrayAttribute Attribute.

VBFixedStringAttribute Attribute.



Appendix B. Making the Transition from COM to the CLR.

Type System Additions.

Type System Modifications.

Platform Changes.

Language Cleanup.



Index.

Paul Vick, one of VB.NET's lead architects, is author of the language's specification. He joined the Visual Basic team in 1997, first working on VB 6.0's OLE automation component, and then moving to the core compiler as the team began work on what would become Visual Studio .NET. In late 1999, he became leader of the VB.NET compiler team, helping to drive the decisions that led to VB.NET's full support for .NET and the CLR. He continues to work on the Visual Basic language definition and compiler.



0321169514AB12302003

Praise for The Visual Basic .NET Programming Language

“There is no substitute to getting the inside scoop directly from a book written by the father of a programming language such as Bjarne Stroustrup for C++, James Gosling for Java and Alan Cooper for the original version of Visual Basic. Paul Vick, the father of Visual Basic .NET, explains the whys and hows of this exciting new language better than any other human being on the planet.”

     —Ted Pattison, Barracuda.NET

The Visual Basic .NET Programming Language includes nuances that in all my use and study of VB .NET, I haven’t seen discussed anywhere else. For example, I learned that you can use the Imports statement to import an Enum name, so that you needn’t refer to the enum in all its uses. In addition, I learned that the dictionary lookup operator, ‘!’, works in VB .NET—I thought this one had been retired. In any case, if you’re searching for a book that covers all the language syntax issues, and more, Paul Vick’s book is a great place to look.”

     —Ken Getz, Senior Consultant, MCW Technologies, LLC

“This book is an excellent stepping stone for Visual Basic developers wanting to get their toes wet in the .NET waters. Paul’s presentation of the core topics all VB developers should tackle first is clear, concise, and unlike other books in the genre, does not overwhelm the reader. The VB6 vs. VB.NET task-oriented approach guides you through the new language and OO features, and then moves to basic threading and other CLR topics—as well as to the key points in the COM to .NET transition—in a well thought-out sequence. If you’ve been holding out on VB .NET, this is a great book to get you started.”

     —Klaus H. Probst, Sr. Consultant/Architect, Spherion Technology Services, Microsoft MVP

“There is no shortage of VB .NET books in the market, but this is the only book straight from the creators. While that is an excellent reason in itself for reading this book, it is the brevity and clarity of the content, along with the examples, that makes this book a must-have.”

     —Amit Kalani, Developer

“Overall, I liked this book and it definitely benefited me. I learned new things I didn’t see anywhere else and I’ll certainly put these to good use in the future. Paul’s book makes a great reference manual for intermediate and advanced VB .NET developers.”

     —Philip Williams, System Engineer, LDC Direct

“This book contains a lot of great information I have seen nowhere else and addresses issues that other books do not.”

     —Ethan Roberts, .NET Architect, General Casualty

“This book is full of useful information and provides a good historical background for the Visual Basic .NET Language.”

     —Dave Vitter, Technical Lead Developer and author of Designing Visual Basic .NET Applications (Coriolis, 2001)
The definitive Microsoft Visual Basic .NET reference—authored by Visual Basic .NET’s lead architect

If you want to leverage all of VB .NET’s immense power, get this book. It’s the definitive VB .NET reference and tutorial, and the first Visual Basic book written by one of VB .NET’s lead architects. No other book offers this much behind-the-scenes insight about why VB .NET works the way it does, how it evolved, and how you can make the most of it.

The Visual Basic .NET Programming Language is a superb learning tool for new VB .NET programmers and a must-have reference for developers at every level. Paul Vick presents precise language descriptions, essential reference materials, practical insights, and hundreds of code samples, straight from Microsoft’s VB .NET design team.

Just some of the features include:

  • A history and overview of Visual Basic’s evolution into VB .NET
  • Complete coverage of the language syntax
  • Transitioning from COM to the CLR and leveraging the .NET platform
  • Runtime functions
  • Taking full advantage of VB .NET’s object-oriented features
  • Notes on style, design, and compatibility throughout the text
  • Notes for the advanced user throughout the text

Vick exposes VB .NET’s most powerful capabilities with unprecedented depth and clarity, and packs this book with information you simply won’t find anywhere else. Whether you’re an experienced VB .NET programmer, upgrading from earlier versions of Visual Basic, or coming to Visual Basic and .NET for the first time, you’ll find this book indispensable.



View a Sample Chapter PDF: /samplechapter/0321169514.pdf

Pearson Higher Education offers special pricing when you choose to package your text with other student resources. If you're interested in creating a cost-saving package for your students, contact your Pearson Higher Education representative for pricing and ordering information.

This title is a member of the Microsoft .NET Development Series, which also contains the titles below . You can also visit the Microsoft .NET Development Series page.

  • 0321288661.NET Class Libraries Reference Poster
    Abrams
    © 2004 | Addison-Wesley Professional | Paper; 2 pages | Instock
    ISBN-10: 0321288661 | ISBN-13: 9780321288660
    Buy from myPearsonStore

  • 0321174038.NET Compact Framework Programming with C#
    Yao & Durant
    © 2004 | Addison-Wesley Professional | Paper; 1424 pages | Instock
    ISBN-10: 0321174038 | ISBN-13: 9780321174031
    Brief Description | Buy from myPearsonStore

  • 0321174046.NET Compact Framework Programming with Visual Basic .NET
    Yao & Durant
    © 2004 | Addison-Wesley Professional | Paper; 1424 pages | Instock
    ISBN-10: 0321174046 | ISBN-13: 9780321174048
    Brief Description | Buy from myPearsonStore

  • 0321350170The .NET Developer's Guide to Directory Services Programming
    Kaplan & Dunn
    © 2006 | Addison-Wesley Professional | Paper; 512 pages | Instock
    ISBN-10: 0321350170 | ISBN-13: 9780321350176
    Buy from myPearsonStore

  • 0321228359The .NET Developer's Guide to Windows Security
    Brown
    © 2005 | Addison-Wesley Professional | Paper; 408 pages | Instock
    ISBN-10: 0321228359 | ISBN-13: 9780321228352
    Brief Description | Buy from myPearsonStore

  • 0321154894.NET Framework Standard Library Annotated Reference, Volume 1: Base Class Library and Extended Numerics Library
    Abrams
    © 2004 | Addison-Wesley Professional | Cloth; 560 pages | Out of Stock
    ISBN-10: 0321154894 | ISBN-13: 9780321154897


  • 0321194454.NET Framework Standard Library Annotated Reference, Volume 2: Networking Library, Reflection Library, and XML Library
    Abrams & Abrams
    © 2006 | Addison-Wesley Professional | Cloth Bound w/CD-ROM; 512 pages | Instock
    ISBN-10: 0321194454 | ISBN-13: 9780321194459
    Buy from myPearsonStore

  • 0321341384.NET Internationalization: The Developer's Guide to Building Global Windows and Web Applications
    Smith-Ferrier
    © 2007 | Addison-Wesley Professional | Paper; 672 pages | Instock
    ISBN-10: 0321341384 | ISBN-13: 9780321341389
    Buy from myPearsonStore

  • 0321247124ADO.NET and System.Xml v. 2.0--The Beta Version, 2/E
    Homer, Sussman & Fussell
    © 2005 | Addison-Wesley Professional | Paper; 560 pages | Instock
    ISBN-10: 0321247124 | ISBN-13: 9780321247124
    Brief Description | Buy from myPearsonStore

  • 0321418344ASP.NET 2.0 Illustrated
    Homer & Sussman
    © 2006 | Addison-Wesley Professional | Paper; 800 pages | Instock
    ISBN-10: 0321418344 | ISBN-13: 9780321418340
    Brief Description | Buy from myPearsonStore

  • 0321334434The C# Programming Language, 2/E
    Hejlsberg, Wiltamuth & Golde
    © 2006 | Addison-Wesley Professional | Cloth; 720 pages | Instock
    ISBN-10: 0321334434 | ISBN-13: 9780321334435
    Buy from myPearsonStore

  • 0321154932The Common Language Infrastructure Annotated Standard
    Miller & Ragsdale
    © 2004 | Addison-Wesley Professional | Paper; 928 pages | Estimated Availability: 10/23/2003
    ISBN-10: 0321154932 | ISBN-13: 9780321154934
    Brief Description | Buy from myPearsonStore

  • 032143482XConcurrent Programming on Windows
    Duffy
    © 2009 | Addison-Wesley Professional | Paper; 1008 pages | Instock
    ISBN-10: 032143482X | ISBN-13: 9780321434821
    Buy from myPearsonStore

  • 032126892XData Binding with Windows Forms 2.0: Programming Smart Client Data Applications with .NET
    Noyes
    © 2006 | Addison-Wesley Professional | Paper; 736 pages | Instock
    ISBN-10: 032126892X | ISBN-13: 9780321268921
    Buy from myPearsonStore

  • 0321410599Designing Forms for Microsoft Office InfoPath and Forms Services 2007
    Roberts & Green
    © 2007 | Addison-Wesley Professional | Paper; 1296 pages | Instock
    ISBN-10: 0321410599 | ISBN-13: 9780321410597
    Buy from myPearsonStore

  • 0321382188Developer's Guide to SQL Server 2005, A
    Beauchemin & Sullivan
    © 2006 | Addison-Wesley Professional | Paper; 1088 pages | Instock
    ISBN-10: 0321382188 | ISBN-13: 9780321382184
    Buy from myPearsonStore

  • 0321398203Domain-Specific Development with Visual Studio DSL Tools
    Cook, Jones, Kent & Wills
    © 2007 | Addison-Wesley Professional | Paper; 576 pages | Instock
    ISBN-10: 0321398203 | ISBN-13: 9780321398208
    Buy from myPearsonStore

  • 032124673XEnterprise Services with the .NET Framework: Developing Distributed Business Solutions with .NET Enterprise Services
    Nagel
    © 2005 | Addison-Wesley Professional | Paper; 576 pages | Instock
    ISBN-10: 032124673X | ISBN-13: 9780321246738
    Brief Description | Buy from myPearsonStore

  • 0321237706Essential ASP.NET 2.0, 2/E
    Onion & Brown
    © 2007 | Addison-Wesley Professional | Paper; 384 pages | Instock
    ISBN-10: 0321237706 | ISBN-13: 9780321237705
    Brief Description | Buy from myPearsonStore

  • 0321150775Essential C# 2.0
    Michaelis
    © 2006 | Addison-Wesley Professional | Paper; 768 pages | Instock
    ISBN-10: 0321150775 | ISBN-13: 9780321150776
    Buy from myPearsonStore

  • 0321440064Essential Windows Communication Foundation (WCF): For .NET Framework 3.5
    Resnick, Crane & Bowen
    © 2008 | Addison-Wesley Professional | Paper; 608 pages | Instock
    ISBN-10: 0321440064 | ISBN-13: 9780321440068
    Buy from myPearsonStore

  • 0321374479Essential Windows Presentation Foundation (WPF)
    Anderson
    © 2007 | Addison-Wesley Professional | Paper; 512 pages | Instock
    ISBN-10: 0321374479 | ISBN-13: 9780321374479
    Buy from myPearsonStore

  • 0321399838Essential Windows Workflow Foundation
    Shukla & Schmidt
    © 2007 | Addison-Wesley Professional | Paper; 480 pages | Instock
    ISBN-10: 0321399838 | ISBN-13: 9780321399830
    Buy from myPearsonStore

  • 0321180593First Look at SQL Server 2005 for Developers, A
    Beauchemin, Berglund & Sullivan
    © 2004 | Addison-Wesley Professional | Paper; 736 pages | Out of Stock
    ISBN-10: 0321180593 | ISBN-13: 9780321180599
    Brief Description

  • 0321545613Framework Design Guidelines: Conventions, Idioms, and Patterns for Reusable .NET Libraries, 2/E
    Cwalina & Abrams
    © 2009 | Addison-Wesley Professional | Hardcover with DVD; 480 pages | Instock
    ISBN-10: 0321545613 | ISBN-13: 9780321545619
    Buy from myPearsonStore

  • 0321246756Framework Design Guidelines: Conventions, Idioms, and Patterns for Reusable .NET Libraries
    Cwalina & Abrams
    © 2006 | Addison-Wesley Professional | Hardcover with DVD; 384 pages | Estimated Availability: 08/31/2007
    ISBN-10: 0321246756 | ISBN-13: 9780321246752
    Brief Description

  • 0321578813Framework Design Guidelines: Conventions, Idioms, and Patterns for Reusable .NET Libraries, Safari
    Cwalina & Abrams
    © 2006 | Addison-Wesley Professional | On-line Supplement; 384 pages | Instock
    ISBN-10: 0321578813 | ISBN-13: 9780321578815
    URL: http://www.safari.informit.com


  • 0321160770Graphics Programming with GDI+
    Chand
    © 2004 | Addison-Wesley Professional | Paper; 784 pages | Instock
    ISBN-10: 0321160770 | ISBN-13: 9780321160775
    Brief Description | Buy from myPearsonStore

  • 0201770180Programming in the .NET Environment
    Watkins, Hammond & Abrams
    © 2003 | Addison-Wesley Professional | Paper; 560 pages | Estimated Availability: 11/06/2002
    ISBN-10: 0201770180 | ISBN-13: 9780201770186
    Brief Description | Buy from myPearsonStore

  • 0321278720Software Engineering with Microsoft Visual Studio Team System
    Guckenheimer & Perez
    © 2006 | Addison-Wesley Professional | Paper; 304 pages | Instock
    ISBN-10: 0321278720 | ISBN-13: 9780321278722
    Brief Description | Buy from myPearsonStore

  • 0321562992The C# Programming Language, 3/E
    Hejlsberg, Torgersen, Wiltamuth & Golde
    © 2009 | Addison-Wesley Professional | Paper; 784 pages | Instock
    ISBN-10: 0321562992 | ISBN-13: 9780321562999
    Buy from myPearsonStore

  • 0321592271The C# Programming Language, Safari, 3/E
    Hejlsberg, Torgersen, Wiltamuth & Golde
    © 2009 | Addison-Wesley Professional | On-line Supplement; 784 pages | Instock
    ISBN-10: 0321592271 | ISBN-13: 9780321592279
    URL: http://safari.informit.com


  • 0321169514The Visual Basic .NET Programming Language
    Vick
    © 2004 | Addison-Wesley Professional | Paper; 432 pages | Instock
    ISBN-10: 0321169514 | ISBN-13: 9780321169518
    Brief Description | Buy from myPearsonStore

  • 0321334884Visual Studio Tools for Office: Using C# with Excel, Word, Outlook, and InfoPath
    Carter & Lippert
    © 2006 | Addison-Wesley Professional | Paper; 1008 pages | Instock
    ISBN-10: 0321334884 | ISBN-13: 9780321334886
    Brief Description | Buy from myPearsonStore

  • 0321267966Windows Forms 2.0 Programming, 2/E
    Sells & Weinhardt
    © 2006 | Addison-Wesley Professional | Paper; 1296 pages | Instock
    ISBN-10: 0321267966 | ISBN-13: 9780321267962
    Buy from myPearsonStore

  • 0321116208Windows Forms Programming in C#
    Sells
    © 2004 | Addison-Wesley Professional | Paper; 736 pages | Instock
    ISBN-10: 0321116208 | ISBN-13: 9780321116208
    Brief Description | Buy from myPearsonStore

  • 0321125193Windows Forms Programming in Visual Basic .NET
    Sells & Ghetland
    © 2004 | Addison-Wesley Professional | Paper; 736 pages | Instock
    ISBN-10: 0321125193 | ISBN-13: 9780321125194
    Brief Description | Buy from myPearsonStore

  • 0321303636eXtreme .NET: Introducing eXtreme Programming Techniques to .NET Developers
    Roodyn
    © 2005 | Addison-Wesley Professional | Paper; 336 pages | Instock
    ISBN-10: 0321303636 | ISBN-13: 9780321303639
    Brief Description | Buy from myPearsonStore

Pearson Higher Education offers special pricing when you choose to package your text with other student resources. If you're interested in creating a cost-saving package for your students contact your Pearson Higher Education representative.


Copyright ©2008 Pearson Education. All rights reserved. Legal Notice | Privacy Policy | Permissions