Wiley.com
Print this page Share

Mastering Microsoft Visual Basic 2008

ISBN: 978-0-470-18742-5
Paperback
1152 pages
March 2008
Mastering Microsoft Visual Basic 2008 (0470187425) cover image
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
1 18 Text correction: Misidentified Property
The third sentence, "To change the control's behavior, select it on the form and locate its DisplayStyle property in the Properties window." incorrectly identifies that property.

The property is called DropDownStyle in the Properties window.
6/18/10
2 53 Text correction: Incorrect explanation of Date Variable functions
Under Date Variables, the functions Today() and Now() are described incorrectly.

Today() returns a date value and Now() returns the same date value followed by the current time.
6/18/10
2 55 Text correction: Incorrect entry in Table 2.3
The entry for ExactDistance should read ExactDistance#
6/18/10
3 87 Error in code
In the second string of code on the page, first line:
The text reads "If (date1 < #1/1/2008)..."
It should read "If (date1 < #1/1/2008#)..."
Date values should be enclosed in hash signs.
5/2/08 1st
3 94 Text correction
In the Sidebar at the bottom of the page headed Do Not Manipulate the Loop's Counter, the last sentence contains an error.
"To jump out of a For...Next loop prematurely, use the Next For statement."
Should read: "To jump out of a For...Next loop prematurely, use the Exit For statement."
5/2/08 1st
3 105 Error in code
The first code listing on the page contains two statements in the wrong order. It should read:

Function Degrees(ByVal Celsius as Single) As Single
    Celsius = 0
    Return((9 / 5) * Celsius + 32)
End Function
3/26/09
391 Error in Code
Debug.WriteLine("194 - 289 centimeters is" & (MU1 - MU2).ToString & " meters")
The negative of 1.94 is -1.94

should be:

Debug.WriteLine("194 - 289 centimeters is" & (MU1 - MU2).ToString & " meters")
194 - 289 centimeters is -.95 meters
04/23/2008
392 Errors in Figure 10.10
WHERE FIGURE SHOWS:

1 meter and 198 centimetes is 3.89 meters

it should show

1 meter and 198 centimetes is 2.89 meters

WHERE FIGURE SHOWS:

194 + 289 centimeters is 5.83 meters

it should show

194 + 289 centimeters is 4.83 meters

WHERE FIGURE SHOWS:

194 - 289 centimeters is -0.195 meters

is should show

194 - 289 centimeters is -0.95 meters
04/23/2008
11 407 Error in Listing 11.1
The third line of code, "Dim delEntries As ArrayList" is superfluous, and should be deleted.
5/2/08
13 495 TimeSpan output incorrectly formatted
Middle of the page, in bold type: "Milliseconds" and "Seconds" are formatted to the European standard of using a comma for the decimal separator rather than a period. It should read:
"Milliseconds = 94215.4752
Seconds = 94.2154752"
6/26/08
15 545 Error in the syntax for FindInFiles method
The first form of the FindInFiles method reads:

"FindInFiles(dir, containsText, IgnoreCase, FileIO.SearchOption)"

This sytax is incorrect.

It should read:

"FindInFiles(dir, containsText, IgnoreCase, FileIO.SearchOption, fileWildCards)"
6/26/08
21 787 Error in Real World Scenario: Duplicate Query
The Real World Scenario Sidebar contains two queries, Query 1 and Query 2. Query 1 is a duplicate of Query 2. Query 1 should read:

SELECT C.CompanyName,
SUM((OD.Unit Price * OD.Quantity) * (1 - OD.Discount) as Revenue
FROM Customers as C, Orders as O, [Order Details] as OD
WHERE C.CustomerID = O.CustomerID AND O.OrderID = OD.OrderID
6/26/08
22 813 Error in code
The third line of code on the page reads:
"Command.Parameters.Add("@country", "Italy")
It should read:
"Command.Parameters.AddWithValue("@country", "Italy")
5/2/08 1st

Related Titles

More By This Author

Visual Basic

by Robert Martin, Ken Puls, Teresa Hennig
by Thearon Willis, Bryan Newsome
by Bill Evjen, Billy Hollis, Bill Sheldon, Kent Sharkey
by István Novák, Andras Velvart, Adam Granicz, Gyorgy Balássy, Attila Hajdrik, Mitchel Sellers, Gastón C. Hillar, Ágnes Molnár, Joydip Kanjilal
Back to Top