Wrox Home  

Topic: Visual Basic

Visual Basic 2010 Programmer's Reference (0470499834) cover image

Visual Basic 2010 Programmer's Reference

Rod Stephens
ISBN: 978-0-470-49983-2
1272 pages
March 2010
This title is out-of-print and not currently available for purchase from this site.

Do you think you've discovered an error in this book? Please check the list of errata below to see if we've already addressed the error. If not, please submit the error via our Errata Form. We will attempt to verify your error; if you're right, we will post a correction below.

ChapterPageDetailsDatePrint Run
165 Error in Code
Second paragraph
Last sentence
Suggests that pressing 2 in Figure 10-9 will reopen file SDIEdit.sln.
Figure 10-9 does not display any reference to file SDIEdit.sln.
This should be MruList.vb
320 Error in Text
Table (continuation) at top of page:

Subtraction Operator is printed as "2"
Should be "-"

Calculator Cleverness - box
Second to last sentence:
Instructs the reader to select Scientific from the View menu.

Instruct the reader to select Programmer from the View menu.

(In Windows Vista the command it labeled Scientific. Microsoft may have changed it in different editions.)
331 Error in Code
SYNTAX result_boolean = Date.op_Equality(date1, date2)

Indicates: True if date1>date2
Should be: True if date1=date2
357 Error in Code
For "factorial of N is N* (N21) * (N22) ... * 1"

Should read: "factorial of N is N* (N-1) * (N-2) ... * 1"
406 Error in Text
In Stack Trace Objects code example, the last line has a spelling error:

Currently reads:

Should read:
482 Error in Text
Second paragraph under Using LINQ Results:

Indicates that the Select clause in the following code will be bolded.
This is incorrect.
483 Error in Text
Currently reads:
...Customer properties area available because...

Should read:
"are" instead of "area"
484 Error in Text
Fourth paragraph, just above the shaded box:

Reads: "The Group By statement returns..."
Should read: "The Group Join statement returns..."
486 Error in Text
Third paragraph - the one just after the second code example:

Reads: "...it displays the group's CustId and the loops through..."
Should read: "...it displays the group's CustId and then loops through..."
502 Error in Code
Second code example, In LINQ query Where clause

Operator is: <=
It should be: >=
558 Error in Text
Seventh paragraph

Reads: "If you are a logged in as a ..."

Should read: "If you are logged in as a ..."
614 Error in Text
First paragraph under "Declaring Events"

"...whenever it needs to notify to the program..."

Should read:
"...whenever it needs to notify the program..."
716 Error in Code
The first code example:

"Dim device_rect As New Rectangle(50, 200, 150, -150)"
Should read:
"Dim device_rect As New Rectangle(50, 200, 200, -150)"
718 Error in Text
Second to last paragraph

Currently reads:
"...ellipse with bounds 10 <= X <= 300, 10 <= Y <= 100,..."
Should read:
"...ellipse with bounds 10 <= X <= 300, 10 <= Y <= 10,..."
735 Error in Code
First paragraph below code example

First sentence reads:
"...starting at (9, 10) and ending at (210, 10)."
Should read:
"...starting at (10, 10) and ending at (210, 10)."
923 Error in Text
First paragraph under OPTION EXPLICIT AND OPTION STRICT sub-header

Second sentence reads:
"... first time it is encountered if is has not yet..."
Should read:
"... first time it is encountered if it has not yet..."
928 Error in Text
First paragraph reads:
"...which can be 2, 8, 10, or 16 to if the string..."

Should read:
"...which can be 2, 8, 10, or 16 if the string..."
929 Error in Text
In the last row in the table:
The example column reads:
"&H57 << 1"
Should read:
"&H57 >> 1"
937 Error in Code
In the first code example:
Currently reads:
Should read:

In the second code example, this error reoccurs:
Currently reads:
Should read:
939 Error in Text
The last sentence on the page

"...and finish with End Sub of End Function."
Should read:
"...and finish with End Sub or End Function."
943 Error in Code
The first paragraph under the "If and IIf" sub-header contradicts the following code example.

It currently reads:
variable = IIf(condition, value_if_false, value_if_true)
It should read:
variable = IIf(condition, value_if_true, value_if_false)
variable = If(condition, value_if_true, value_if_false)
961 Error in Text
The first paragraph below the table states that Figure G-3's bottom DateTimePicker control's CustomFormat property is set to display the time and abbreviated month etc.

This was mistakenly included and is not the case. Please ignore this sentence.
1019 Error in Code

The TextBox control doesn't have an AutoSize property, although the Label control does (see page 970).
Printer-Ready Version   Share This
With you wherever you go: pdf + ePub + kindle -- DRM-free