Errata

Start Here! Learn Microsoft Visual C# 2010

Errata for Start Here! Learn Microsoft Visual C# 2010

The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".

The following errata were submitted by our customers and approved as valid errors by the author or editor.

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

Version Location Description Submitted By Date submitted Date corrected
Printed
Page 288
2nd paragraph

It references Listing 10-7 when it should reference Listing 10-6, which starts immediately below the reference.

Note from the Author or Editor:
Please change the reference in the paragraph from Listing 10-7 to Listing 10-6.

Michael Ray  Aug 31, 2013 
PDF
Page 138
1st paragraph after the topic "Tracing the XMLRead Application with the Debugger". In the third line.

It's a missing space in "XDocumentNewDoc" that should read "XDocument NewDoc".

Note from the Author or Editor:
Please make the change (adding a space) as specified by the reader.

Leonardo Lehnemann Agostinho Martins  Mar 03, 2013 
PDF
Page 136
In table 5-3, 3rd column, lines 5 and 7.

The properties "(Name)" and "Text" have the values "btnStats" and "S&tats", respectively. But in the final of the third line in last paragraph, before the table, the author talks about "The Quit button ends the application." And in the last property's value at the beginning of page 136, he puts "btnQuit" for the form. So, the "(Name)" and "Text" properties values should be "btnQuit" and "&Quit".

Note from the Author or Editor:
The changes for this error all appear in Table 5-3. These changes are all for button2.

Change the (Name) property Value column from btnStats to btnQuit.

Change the Text property Value column from S&tats to &Quit.

Leonardo Lehnemann Agostinho Martins  Mar 03, 2013 
PDF
Page 132
6th line, 3rd column of table 5-2

The value of the property "AcceptButton" is "btnTest", but there isn't a "btnTest" in this example. So, the correct should be "btnSave".

Note from the Author or Editor:
Please change btnTest to btnSave as suggested by the reader.

Leonardo Lehnemann Agostinho Martins  Mar 03, 2013 
PDF
Page 135
Last paragraph of the page, second line.

The same error of missing space between the type XDocument and the variable name (ex. "XDocumentNewDoc" should be "XDocument NewDoc").

The same mistake in page 146, third paragraph ("XDocumentSettingData" should be "XDocument SettingData").

Note from the Author or Editor:
Please add the space as suggested by the reader on pages 135 and 146.

Leonardo Lehnemann Agostinho Martins  Mar 02, 2013 
PDF
Page 133
1st paragraph before the topic "Testing the XMLSave Application".

The same mistake pointed by Colin Loyd. Statement "usingSystem.Xml.Linq;" should be "using System.Xml.Linq;".

The same mistake appears in the page 138 in the first paragraph before the topic "Testing the XMLRead Application", and in the page 146, after the third paragraph.

Note from the Author or Editor:
Please add the space between using and System.Xml.Linq as suggested by the reader on both pages 133 and 138.

Leonardo Lehnemann Agostinho Martins  Mar 02, 2013 
PDF
Page 130
1st paragraph after the topic "Adding the XML_LINQ Code".

Where it says "Double-click btnClose and add the usual event handler code for ending the application." shouldn't be "Double-click btnQuit and add the usual event handler code for ending the application."?

Note from the Author or Editor:
Please change btnClose to btnQuit as suggested by the reader.

Leonardo Lehnemann Agostinho Martins  Mar 02, 2013 
PDF
Page 104
Page's last line.

Where it says "... tells what short of data type is used...", should it be "... tells what SORT of data type is used..."?

Note from the Author or Editor:
Please change short to sort as suggested by the reader.

Leonardo Lehnemann Agostinho Martins  Mar 01, 2013 
PDF
Page 84
1st paragraph before Figure 3-24

Where it says "... three separate lines. Click Text. You?ll see the output..." should be "Click Test. You?ll see the output..."?

Note from the Author or Editor:
Please change Text to Test as described by the reader.

Leonardo Lehnemann Agostinho Martins  Feb 25, 2013 
PDF
Page 71
page's last line.

The line says "... separately by choosing Debug | Build Solution or pressing F6.", but the option "Build Solution" is in the Build Menu. So the correct sequence is "... Build | Build Solution or pressing F6."

Note from the Author or Editor:
Please change the text to read Build | Build Solution as suggested by the reader. The error appears at the bottom of page 71 in the Note.

Leonardo Lehnemann Agostinho Martins  Feb 25, 2013 
Printed
Page 130
End of first paragraph after the picture.

There should be a space between "using" and "System" where it says to "add the following statement" without the space that program won't work.

Note from the Author or Editor:
Please add a space between using and System as requested by the reader. The affected text appears about halfway down the page.

Colin Loyd  Feb 01, 2013 
Ch. 11
table 11-1

Need to add a row under the label1 properties to set grid column to 1

Note from the Author or Editor:
Please add a row to Table 11-1 on page 300 in the label1 section between the Content and Margin properties of Grid.Column in the Property Name column and 1 in the Value column. Another such entry appears with the radioButton1 entry. Make sure to add the period between Grid and Column.

Terry Silveus  Aug 16, 2012 
Ch. 5
Table 5-1. XML_LINQ Control Configuration

The description includes adding two buttons, one for testing and one to quit, but in the table 5-1 for button2 it describe a stats button, then when you get to the form in the same table you assign the cancel button to btnQuit which is not set up in the table. Button2 should be for a quit button not a stat button.

Note from the Author or Editor:
Change the Value column for Table 5-1 for the following two entries.

First, change the button2 (Name) Value entry from btnStats to btnQuit.

Second, change the button2 Text Value entry from S&tats to &Quit.

Terry Silveus  Aug 03, 2012 
Chapter 4
using arrays

when setting up the properties of the buttons you have the text for the btnLinq as LIN&Q and the btnQuit as &Quit. Up until now, I don't think the & has been described. However you cannot have & next to the same letter in two different buttons on the same form, the program will not know which button to execute.

Note from the Author or Editor:
This application does contain duplicate hotkeys for buttons. Duplicates will work with fields, but not with buttons. Change the button1 Text Value entry in Table 4-1 from LIN&Q to LI&NQ so that the hotkey for the first button becomes Alt+N.

This error doesn't affect any procedural steps or screenshots. The only change needed is the table entry.

Terry Silveus  Aug 03, 2012 
Printed
Page 130
Listing 5-1

Throughout Chapter 5 when a new object of type XDocument is declared the space between the variable name and datatype is missing.

XDocumentNewDoc should be XDocument NewDoc.

Same error on Listing 5-2, 5-3, 5-5, and 5-6.

Note from the Author or Editor:
Yes, there should be a space between XDocument and NewDoc. The downloadable code contains the space, so I'm not sure how the space was omitted in the book.

Anonymous  Jun 24, 2012 
Printed
Page 62
Table 3-1

In table 3-1, the control names are listed. There are two controls named "txtBox1." The control name under "label2" should read "txtBox2."

Note from the Author or Editor:
Yes, that should definitely be txtBox2. So, the second txtBox1 in the Control Name column of Table 3-1 should be txtBox2 instead.

Geoffrey Davis  Apr 10, 2012 
Printed
Page 3
Step 2

During the download of Visual C# Express 2010 Edition, after step 2, the installer asks if I additionally want to install:
1) Silverlight
2) SQL Server 2010

The book doesn't say if I want either / none / both.

Note from the Author or Editor:
On page 3, after Step 2, add an optional step that says, If you see a dialog box asking whether you want to install Silverlight or SQL Server 2010, choose None.

Dean Larsen  Feb 20, 2012 
Printed
Page 158
Table 6-1

Under control name textBox1 (txtLocation) there is the additonal property 'text' to configure as 'Milwaukee, WI' that is not addressed in the table.

Note from the Author or Editor:
Add a row to the table at the end of the textBox1 entries (before the beginning of webBrowser1) that has Text in the Property Name column and Milwaukee, WI in the Value column.

Giles Evans  Feb 05, 2012