Microsoft Visual Basic 2010 Developer's Handbook


Your expert guide to building modern applications with Visual Basic 2010

Take control of Visual Basic 2010—for everything from basic Windows® and web development to advanced multithreaded applications. Written by Visual Basic experts, this handbook provides an in-depth reference on language concepts and features, as well as scenario-based guidance for putting Visual Basic to work. It's ideal whether you’re ...

See more details below
$44.04 price
(Save 26%)$59.99 List Price

Pick Up In Store

Reserve and pick up in 60 minutes at your local store

Other sellers (Paperback)
  • All (22) from $3.59   
  • New (13) from $11.94   
  • Used (9) from $3.59   
Microsoft Visual Basic 2010 Developer's Handbook

Available on NOOK devices and apps  
  • NOOK Devices
  • Samsung Galaxy Tab 4 NOOK 7.0
  • Samsung Galaxy Tab 4 NOOK 10.1
  • NOOK HD Tablet
  • NOOK HD+ Tablet
  • NOOK eReaders
  • NOOK Color
  • NOOK Tablet
  • Tablet/Phone
  • NOOK for Windows 8 Tablet
  • NOOK for iOS
  • NOOK for Android
  • NOOK Kids for iPad
  • PC/Mac
  • NOOK for Windows 8
  • NOOK for PC
  • NOOK for Mac
  • NOOK for Web

Want a NOOK? Explore Now

NOOK Book (eBook)
$27.49 price
(Save 42%)$47.99 List Price


Your expert guide to building modern applications with Visual Basic 2010

Take control of Visual Basic 2010—for everything from basic Windows® and web development to advanced multithreaded applications. Written by Visual Basic experts, this handbook provides an in-depth reference on language concepts and features, as well as scenario-based guidance for putting Visual Basic to work. It's ideal whether you’re creating new applications with Visual Basic 2010 or upgrading projects built with an earlier version of the language.

Discover how to:

  • Use Visual Basic 2010 for Windows Forms and Windows Presentation Foundation projects
  • Build robust code using object-oriented programming techniques, such as classes and types
  • Work with events and delegates—and add your own events to custom classes
  • Program arrays, collections, and other data structures in the Microsoft .NET Framework
  • Solve problems quickly and easily using My namespace in Visual Basic
  • Dive into Microsoft LINQ, including LINQ to XML and LINQ to Entities
  • Tackle threading, multitasking, and multiprocessor development and debugging
Read More Show Less

Product Details

  • ISBN-13: 9780735627055
  • Publisher: Microsoft Press
  • Publication date: 8/26/2011
  • Pages: 1024
  • Sales rank: 965,012
  • Product dimensions: 7.40 (w) x 8.90 (h) x 1.70 (d)

Meet the Author

Klaus Löffelmann is a Microsoft MVP for Visual Basic .NET, and has been a professional software developer for over 20 years. He has written several books about Visual Basic, and is the owner and founder of ActiveDevelop in Lippstadt, Germany, a company specializing in software development, localization, technical literature and training/coaching with Microsoft technologies.

Sarika Calla Purohit is a Software Design Engineer Test Lead on the Visual Studio Languages team at Microsoft. She has been a member of the Visual Studio team for over eight years and has contributed to Visual Basic .Net since version 1.1. Most recently, her team was responsible for testing the Visual Basic IDE in Visual Studio 2010.

Read More Show Less

Table of Contents

Who Should Read This Book;
Who Should Not Read This Book;
Organization of This Book;
Conventions and Features in This Book;
System Requirements;
Code Samples;
Errata and Book Support;
We Want to Hear from You;
Stay in Touch;
Beginning with Language and Tools;
Chapter 1: Beginners All-Purpose Symbolic Instruction Code;
1.1 Starting Visual Studio for the First Time;
1.2 Console Applications;
1.3 Anatomy of a (Visual Basic) Program;
1.4 Starting Up with the Main Method;
1.5 Methods with and Without Return Values;
1.6 Declaring Variables;
1.7 Expressions and Definitions of Variables;
1.8 Comparing Objects and Data Types;
1.9 Properties;
1.10 Type Literal for Determining Constant Types;
1.11 Type Safety;
1.12 Arrays and Collections;
1.13 Executing Program Code Conditionally;
1.14 Loops;
1.15 Simplified Access to Object Properties and Methods Using With ... End With;
1.16 The Scope of Variables;
1.17 The += and –= Operators and Their Relatives;
1.18 Error Handling in Code;
Chapter 2: Introduction to the .NET Framework;
2.1 What Is .NET, and What Is It Composed Of?;
2.2 What Is an Assembly?;
Chapter 3: Sightseeing;
3.1 Introduction;
3.2 Starting Visual Studio for the First Time: Selecting the Profile;
3.3 The Start Page: Where Your Developing Endeavors Begin;
3.4 Upgrading Visual Basic 6.0 Applications to Visual Studio 2010;
3.5 The History of Multitargeting;
3.6 Interesting Read for Multitargeting;
3.7 Zooming In the New and Improved WPF-Based IDE;
3.8 Searching, Understanding, and Navigating Code;
3.9 Regions and Outlining;
3.10 Architecture Explorer;
3.11 The Generate From Usage Feature;
3.12 Extending Visual Studio;
Chapter 4: Introduction to Windows Forms—Designers and Code Editor by Example;
4.1 Case Example: the DVD Cover Generator;
4.2 Designing Forms with the Windows Forms Designer;
4.3 The Code Editor;
Chapter 5: Introduction to Windows Presentation Foundation;
5.1 What Is the Windows Presentation Foundation?;
5.2 What’s So New About WPF?;
5.3 How WPF Brings Designers and Developers Together;
5.4 Extensible Application Markup Language;
5.5 XAML Syntax Overview;
5.6 ImageResizer—a Practical WPF Example;
Chapter 6: The Essential .NET Data Types;
6.1 Numeric Data Types;
6.2 The Char Data Type;
6.3 The String Data Type;
6.4 The Boolean Data Type;
6.5 The Date Data Type;
6.6 .NET Equivalents of Base Data Types;
6.7 Constants and Read-Only Fields (Read-Only Members);
Object-Oriented Programming;
Chapter 7: A Brief Introduction to Object-Oriented Programming;
7.1 Using Classes and Objects: When and Why?;
Chapter 8: Class Begins;
8.1 What Is a Class?;
8.2 Instantiating Classes with New;
8.3 New or Not New: About Objects and Reference Types;
8.4 Nothing;
8.5 Using Classes;
8.6 Value Types;
Chapter 9: First Class Programming;
9.1 Using Properties;
9.2 Class Constructors: Defining What Happens in New;
9.3 Class Methods with Sub and Function;
9.4 Overloading Methods, Constructors, and Properties;
9.5 Specifying Variable Scope with Access Modifiers;
9.6 Static Elements;
9.7 Distributing Class Code over Multiple Code Files by Using Partial;
Chapter 10: Class Inheritance and Polymorphism;
10.1 Reusing Classes Through Inheritance;
10.2 Overriding Methods and Properties;
10.3 Polymorphism;
10.4 Abstract Classes and Virtual Procedures;
10.5 Interfaces;
10.6 The Built-In Members of the Object Type;
10.7 Shadowing of Class Procedures;
10.8 Special Form “Module” in Visual Basic;
10.9 Singleton Classes and Self-Instantiating Classes;
Chapter 11: Developing Value Types;
11.1 A Practical Example of Structures;
11.2 Passing Value and Reference Parameters;
11.3 Constructors and Default Instantiations of Value Types;
11.4 When to Use Value Types—When to Use Reference Types;
11.5 Targeted Memory Assignment for Structure Members with the Attributes StructLayout and FieldOffset;
Chapter 12: Typecasting and Boxing Value Types;
12.1 Converting Primitive Types;
12.2 Converting to and from Strings;
12.3 Casting Reference Types by Using DirectCast;
12.4 Boxing Value Types;
12.5 Changing the Values of Interface-Boxed Value Types;
Chapter 13: Dispose, Finalize, and the Garbage Collector;
13.1 The Garbage Collector in .NET;
13.2 The Speed in Allocating Memory for New Objects;
13.3 Finalize;
13.4 Dispose;
13.5 Targeted Object Release with Using;
Chapter 14: Operators for Custom Types;
14.1 Introduction to Operator Procedures;
14.2 Preparing a Structure or Class for Operator Procedures;
14.3 Implementing Operators;
14.4 Implementing Comparison Operators;
14.5 Implementing Type Conversion Operators for Use with CType;
14.6 Implementing True and False Evaluation Operators;
14.7 Problem Handling for Operator Procedures;
14.8 Implementable Operators: an Overview;
Chapter 15: Events, Delegates, and Lambda Expressions;
15.1 Consuming Events with WithEvents and Handles;
15.2 Raising Events;
15.3 Providing Event Parameters;
15.4 Delegates;
15.5 Lambda Expressions;
15.6 Embedding Events Dynamically with AddHandler;
15.7 Implementing Your Own Event Handlers;
Chapter 16: Enumerations;
16.1 Introduction to Enumerations;
16.2 Determining the Values of Enumeration Elements;
16.3 Determining the Types of Enumeration Elements;
16.4 Converting Enumerations to Other Types;
16.5 Flags Enumerations;
Chapter 17: Developing with Generics;
17.1 Introduction;
17.2 Solution Approaches;
17.3 Standardizing the Code Base of a Type by Using Generics;
17.4 Constraints;
Chapter 18: Advanced Types;
18.1 Nullable Value Types;
18.2 Generic Delegates;
18.3 Tuple(Of T);
18.4 Type Variance;
18.5 Extension Methods;
Programming with .NET Framework Data Structures;
Chapter 19: Arrays and Collections;
19.1 Array Basics;
19.2 Initializing Arrays;
19.3 Enumerators;
19.4 Collection Basics;
19.5 Initializing Collections;
19.6 Important Collections of .NET Framework;
19.7 Generic Collections;
Chapter 20: Serialization;
20.1 Introduction to Serialization Techniques;
20.2 Shallow and Deep Object Cloning;
20.3 Serializing Objects with Circular References;
20.4 XML Serialization;
Chapter 21: Attributes and Reflection;
21.1 Introduction to Attributes;
21.2 Introduction to Reflection;
21.3 Creating Custom Attributes and Recognizing Them at Runtime;
Development Simplifications in Visual Basic 2010;
Chapter 22: Using My as a Shortcut to Common Framework Functions;
22.1 Visual Basic 2010 Simplifications Using the Example of the DotNetCopy Backup Tool;
22.2 The Principle Functionality of DotNetCopy;
22.3 The My Namespace;
22.4 Calling Forms Without Instantiation;
22.5 Reading Command-Line Arguments with My.Application.CommandLineArgs;
22.6 Targeted Access to Resources with My.Resources;
22.7 Writing Localizable Applications with Resource Files and the My Namespace;
22.8 Simplified File Operations with My.Computer.FileSystem;
22.9 Using Application Settings with My.Settings;
Chapter 23: The Application Framework;
23.1 Application Framework Options;
23.2 Adding a Code File to Handle Application Events (Start, End, Network Status, Global Exceptions);
Language-Integrated Query—LINQ;
Chapter 24: Introduction to LINQ (Language-Integrated Query);
24.1 Getting Started with LINQ;
24.2 The Where Method;
24.3 The Select Method;
24.4 Combining LINQ Extension Methods;
24.5 Simplified Use of LINQ Extension Methods with the LINQ Query Syntax;
Chapter 25: LINQ to Objects;
25.1 Getting Started with LINQ to Objects;
25.2 Anatomy of a LINQ Query;
25.3 LINQ Query Performance;
25.4 Concatenating LINQ Queries and Delayed Execution;
25.5 Combining Multiple Collections;
25.6 Grouping Collections;
25.7 Aggregate Functions;
Chapter 26: LINQ to XML;
26.1 Getting Started with LINQ to XML;
26.2 Processing XML Documents—Yesterday and Today;
26.3 XML Literals: Using XML Directly in Code;
26.4 Creating XML Documents with LINQ;
26.5 Querying XML Documents with LINQ to XML;
26.6 IntelliSense Support for LINQ To XML Queries;
Chapter 27: LINQ to Entities: Programming with Entity Framework;
27.1 Prerequisites for Testing the Examples;
27.2 LINQ to Entities: the First Practical Example;
27.3 Querying an Entity Model;
27.4 Modifying, Saving, and Deleting Data;
27.5 Updating a Data Model from a Database;
27.6 Model-First Design;
27.7 Inheritance in the Conceptual Data Model;
27.8 Executing T-SQL Commands Directly in the Object Context;
27.9 Working with Stored Procedures;
27.10 Looking Ahead;
Parallelizing Applications;
Chapter 28: Programming with the Task Parallel Library (TPL);
28.1 Introduction to Threading;
28.2 Various Options for Starting a Thread;
28.3 How to Access Windows Controls from Non-UI Threads;
28.4 Parallelization with Parallel.For and Parallel.ForEach;
28.5 Working with Tasks;
28.6 Synchronizing Threads;
28.7 What’s Next?;
Klaus Löffelmann;
Sarika Calla Purohit;

Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star


4 Star


3 Star


2 Star


1 Star


Your Rating:

Your Name: Create a Pen Name or

Barnes & Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation


  • - By submitting a review, you grant to Barnes & and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Terms of Use.
  • - Barnes & reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously

    If you find inappropriate content, please report it to Barnes & Noble
    Why is this product inappropriate?
    Comments (optional)