Visual Basic.Net Core Language Little Black Book


Visual Basic.NET Core Language Little Black Book is an indispensable quick reference guide written by the Visual Basic master, Steven Holzner. This book is written to show programmers how to perform specific tasks with Visual Basic .NET. Best of all, working examples are presented for almost every programming topic presented in the book.

An indispensable quick reference guide to Visual Basic .NET syntax and data organization, this book gives readers a guided tour ...

See more details below
Available through our Marketplace sellers.
Other sellers (Paperback)
  • All (10) from $1.99   
  • New (1) from $125.00   
  • Used (9) from $1.99   
Sort by
Page 1 of 1
Showing All
Note: Marketplace items are not eligible for any coupons and promotions
Seller since 2014

Feedback rating:



New — never opened or used in original packaging.

Like New — packaging may have been opened. A "Like New" item is suitable to give as a gift.

Very Good — may have minor signs of wear on packaging but item works perfectly and has no damage.

Good — item is in good condition but packaging may have signs of shelf wear/aging or torn packaging. All specific defects should be noted in the Comments section associated with each item.

Acceptable — item is in working order but may show signs of wear such as scratches or torn packaging. All specific defects should be noted in the Comments section associated with each item.

Used — An item that has been opened and may show signs of wear. All specific defects should be noted in the Comments section associated with each item.

Refurbished — A used item that has been renewed or updated and verified to be in proper working condition. Not necessarily completed by the original manufacturer.

Brand new.

Ships from: acton, MA

Usually ships in 1-2 business days

  • Standard, 48 States
  • Standard (AK, HI)
Page 1 of 1
Showing All
Sort by
Sending request ...


Visual Basic.NET Core Language Little Black Book is an indispensable quick reference guide written by the Visual Basic master, Steven Holzner. This book is written to show programmers how to perform specific tasks with Visual Basic .NET. Best of all, working examples are presented for almost every programming topic presented in the book.

An indispensable quick reference guide to Visual Basic .NET syntax and data organization, this book gives readers a guided tour with an expert programmer who concisely explains how to use the Visual Basic tools, from the integrated development environment to the debugger.

Read More Show Less

Product Details

Meet the Author

Steve Holzner is an award-winning author who has been writing about Java topics since Java first appeared. He's a former PC Magazine contributing editor, and his many books have been translated into 18 languages around the world. His books sold more than 1.5 million copies, and many of his bestsellers have been on Java. Steve graduated from MIT and got his PhD at Cornell; he's been a very popular member of the faculty at both MIT and Cornell, teaching thousands of students over the years and earning an average student evaluation over 4.9 out of 5.0. He also runs his own software company and teaches week-long classes to corporate programmers on Java around the country.

Read More Show Less

Table of Contents

Introduction xix
Chapter 1 Essential Visual Basic 1
Putting Visual Basic to Work 2
Creating a Windows Application 2
Creating a Web Application 8
Creating a Console Application 12
The .NET Framework and the Common Language Runtime 15
The System Namespace 16
Building VB .NET Applications 18
Assemblies 19
Solutions and Projects 19
File Extensions Used in VB .NET 20
Debug and Release Versions 21
Chapter 2 The Visual Basic Integrated Development Environment 23
The Start Page 25
The Menu System 26
Toolbars 27
The New Project Dialog Box 28
Graphical Designers 28
Code Designers 29
IntelliSense 32
The Object Explorer 34
The Toolbox 34
The Solution Explorer 36
The Class View Window 37
The Properties Window 38
The Dynamic Help Window 39
Component Trays 40
The Server Explorer 41
The Output Window 42
The Task List 42
The Command Window 43
Coding to Get the Most from Visual Basic 44
Chapter 3 The Visual Basic Language: Handling Data 47
In Brief 48
The Visual Basic Keywords 48
Visual Basic Statements 52
All About Statement Syntax 54
Overview: Procedures, Classes, Modules, Methods, and More 55
Understanding Attributes 56
The Option and Imports Statements 57
Option Statements 57
Imports Statements 57
Immediate Solutions 59
Declaring Constants 59
Creating Enumerations 61
Declaring Variables 62
Determining What Data Types Are Available 66
Converting between Data Types 68
Checking Data Types 70
Declaring Arrays and Dynamic Arrays 71
Standard Arrays 71
Dynamic Arrays 72
Handling Strings 72
Fixed-Length Strings 75
Converting Strings to Numbers and Back Again 76
Converting between Characters and Character Codes 77
Chapter 4 The Visual Basic Language: Operators, Conditionals, and Loops 79
In Brief 80
Immediate Solutions 82
Using Visual Basic Operators 82
Understanding Visual Basic Operator Precedence 84
Commenting Your Code 85
Making Decisions with If...Else Statements 86
Using Select Case 87
Making Selections with Switch and Choose 89
The Switch Function 89
The Choose Function 89
Using the Do Loop 90
Using the For Loop 91
Using the For Each...Next Loop 92
Using the While Loop 93
Using the With Statement 94
Handling Dates and Times 94
Ending a Program at Any Time 96
Chapter 5 The Visual Basic Language: Procedures And Scope 99
In Brief 100
Sub Procedures and Functions 100
Understanding Scope 104
Immediate Solutions 108
Creating Sub Procedures 108
Creating Functions 111
Specifying Optional Procedure Arguments 112
Preserving the Values of Variables between Procedure Calls 113
Creating Procedure Delegates 115
Creating Properties 116
Chapter 6 The Visual Basic Language: Exception Handling 121
In Brief 122
Unstructured Exception Handling 122
Structured Exception Handling 123
Immediate Solutions 125
Using Unstructured Exception Handling 125
Using Resume Next and Resume Line 128
Using On Error GoTo 0 129
Getting an Exception's Number and Description 130
Using Structured Exception Handling 130
Filtering Exceptions in the Catch Block 134
Using Multiple Catch Statements 136
Using Finally 137
Throwing an Exception 138
Chapter 7 Windows Forms 139
In Brief 140
All About Windows Forms 140
Creating Windows Applications 143
Adding Controls to Forms 143
Handling Events 144
Immediate Solutions 146
Setting Title Bar Text 146
Adding and Removing Min/Max Buttons 146
Setting a Form's Border 147
Setting a Form's Initial Position 147
Moving and Sizing Forms and Controls in Code 148
Showing and Hiding Controls and Forms 150
Using the MsgBox Function 150
Working with Multiple Forms 153
Setting the Startup Form 156
Creating Dialog Boxes 156
Creating a Dialog Box 156
Displaying Data from Dialog Boxes 157
Creating Accept and Cancel Buttons 158
Adding and Removing Controls at Runtime 160
Chapter 8 Windows Forms: Core Controls 161
In Brief 162
The Control Class 162
Text Boxes 163
Labels 163
Buttons 164
Checkboxes 165
Radio Buttons 166
Immediate Solutions 168
Creating Text Boxes 168
Creating Multiline, Word-Wrap Text Boxes 168
Accessing Text in a Text Box 168
Selecting and Replacing Text in a Text Box 169
Creating a Password Control 170
Using Labels Instead of Text Boxes 170
Handling Button Clicks 171
Showing and Hiding Buttons 172
Resizing and Moving Buttons from Code 172
Adding Buttons at Runtime 173
Creating Checkboxes 175
Getting a Checkbox's State 175
Setting a Checkbox's State 176
Creating Three-State Checkboxes 176
Creating Radio Buttons 178
Getting a Radio Button's State 178
Setting a Radio Button's State 179
Chapter 9 Windows Forms: Menu 181
In Brief 182
Menu Items 183
Context Menus 184
Immediate Solutions 186
Creating Menus 186
Creating Submenus 188
Adding Checkmarks to Menu Items 189
Creating Menu Access Keys 189
Creating Menu Shortcuts 190
Changing a Menu Item's Caption at Runtime 191
Creating Menu Separators 191
Using the Popup Event 191
Showing and Hiding Menu Items 192
Disabling Menu Items 192
Drawing Menu Items Yourself 192
Creating Menus in Code 194
Creating Context Menus 195
Chapter 10 Object-Oriented Programming 197
In Brief 198
Classes and Objects 198
Fields, Properties, Methods, and Events 199
Class vs. Object Members 201
Abstraction, Encapsulation, Inheritance, and Polymorphism 202
Overloading, Overriding, and Shadowing 203
Structures and Modules 204
Immediate Solutions 206
Creating Classes 206
Creating Objects 207
Creating Structures 210
Chapter 11 Object-Oriented Programming: Constructors, Methods, Properties, and Events 213
In Brief 214
An OOP Example 216
Immediate Solutions 219
Creating Constructors 219
Using Is to Compare Objects 220
Creating Data Members 221
Creating Class (Shared) Data Members 221
Creating Methods 223
Creating Class (Shared) Methods 224
Creating Properties 226
Creating Class (Shared) Properties 227
Creating Events 228
Creating Class (Shared) Events 231
Overloading Methods and Properties 231
Getting Rid of Objects When You're Done with Them 233
Triggering Garbage Collection 234
Creating Class Libraries 234
Creating Namespaces 236
Using the Finalize Method (Creating Destructors) 237
Chapter 12 Object-Oriented Inheritance 239
In Brief 240
Access Modifiers 243
Inheritance Modifiers 245
Overloading, Overriding, and Shadowing 245
Visual Basic Methods Are Virtual 247
Immediate Solutions 250
Inheriting from a Base Class 250
Using Public Inheritance 250
Using Protected Inheritance 252
Using Private Inheritance 253
Using Friend Access 254
Inheriting Constructors 255
Chapter 13 Web Forms 257
In Brief 258
Working with Web Forms 258
Working with Web Form Controls 259
Web Server Controls 259
HTML Server Controls 260
HTML Client Controls 261
Validation Controls 262
User Controls 262
Saving a Web Application's State 263
Creating a Web Application 263
Adding Controls to a Web Form 266
Using HTML Views 267
Handling Events in Code 268
Running a Web Application 269
Immediate Solutions 272
Initializing a Web Form at Runtime 272
Setting Control Layout 272
Forcing Event Handling 273
Setting Colors in Web Forms and HTML Pages 273
Setting Title Bar Text 274
Setting Hyperlink Colors 274
Setting Page Margins 274
Setting Text Color 275
Creating an Error Page 275
Setting Background Images 275
Setting Background Color 275
Setting Background Properties 275
Navigating to Another Form 276
Redirecting to Another Form 276
Writing HTML to a Web Form at Runtime 276
Detecting Browser Type and Capabilities 276
Saving Program Data across Server Round-Trips 277
Index 281
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)