Errata

Microsoft Visual Basic 2010 Developer's Handbook

Errata for Microsoft Visual Basic 2010 Developer's Handbook

The errata list is a list of errors and their corrections that were found after the product was released.

The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.

Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted by Date submitted
Printed Page 8
1st line of program

Assumes the system default is set to mm dd yyyy format. Mine is not so so I made the following changes.
Page 8.
Change . . . . . (mm/dd/yyyy): ") to ......(dd/mm/yyyy): ")

Page 11.

Now.ToString("MMMM, dd. yyyy")) to
Now.ToString("dd. MMMM, yyyy"))
this makes the output display correct english.

and

("Error: Your input wasn't" &
"of the right format!")

The second line above must start with a space, also it would be better english to miss out the word "of".

Only got to page 12, but so far a great book.
Many thanks.

Alan...  Dec 04, 2011 
Printed Page 16
Example of Function

In the code sample Function MethodName(etc ...) in "Defining Methods with Return Values by Using Function", should not it be "End Function" instead of "End Sub"?

I do hope so, otherwise I'm more confused than I thought!!

Thanks,

Grant

Anonymous  Apr 14, 2012 
Printed Page 162
Step 4.

Private Sub btnClearInputs. Button was defined as btnDeleteEntries on Page 150.

Anonymous  Jan 10, 2012 
Printed Page 168
Task Element 1.

Function CoverPictureFromFileName(... is change on P170 to Cover FromImage(... which corrects the error of Function name not the same as patameter name.
The error is perpetuated on P171 8. where the function call is CoverPictureFromFileName(... and again in 11.

The pint code .txt uses different names to CoverData developed in the exercise at P173 step 4.

It s a good exercise to find the correctons but a warning and set of solutions would assist not pannicing the new programer.

Private Sub btnPrintOnDefaultPrinter_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnPrintOnDefaultPrinter.Click generates an error "requires a WithEvens variable. I am unable to resolve this at my stage of learning.

Regards,

Anonymous  Jan 09, 2012 
Printed Page 265
Exercise 3

Exercise 3 starts with a partial solution which is not on the companion CD

ldx664  Aug 13, 2011