Support Page for Visual Basic .NET: A Beginner's Guide

 

This page contains errata and other important information for this book.

 

 

Download the code for this book.

 

Page 76

 

The first sentence of the question in Ask the Expert is: "You say that properties whose value will be static generally should set at run time rather than design time." That sentence instead should state: "You say that properties whose value will be static generally should set at design time rather than run time."

 

Page 151

 

Mastery Check, Question 10, the correct answer is 23, which is not an available choice.

 

Page 224 

 

In Step 8, the following code generates a compiler error.

 

Const arrMonths() As String = {“January”,……… “December”}

Const arrDaysInMonths() As Integer = {31,……….. 31}

 

The correct syntax is:

 

Dim arrMonths() As String = {“January”,……… “December”}

Dim arrDaysInMonths() As Integer = {31,……….. 31}

 

Page 245

 

The third sentence of the answer in Ask the Expert is: "Passing arguments by name involves less typing." That sentence instead should state: "Passing arguments by name involves more typing."

 

Page 298

 

In Step 6 the Name property should be txtInput, not txtNewCaption.

 

Page 379

 

The fourth item in the list of debugging tools is printed as "The window." It should be: "The This window." Note: In the 2003 edition its name has been changed to the "Me Window."