Microsoft Visual C# 2005 Express Edition: Build a Program Now! comments and corrections (905040)



The information in this article applies to:

  • Microsoft Visual C# 2005 Express Edition: Build a Program Now!, ISBN 0-7356-2229-9

SUMMARY

This article contains comments, corrections, and information about known errors relating to the Microsoft Press book Microsoft Visual C# 2005 Express Edition: Build a Program Now!, ISBN 0-7356-2229-9.

The following topics are covered:

  • Page vi: Incorrect URL for code samples
  • Page 43: Semicolon and parenthesis missing from the code sample
  • Page 51: Location specified as X rather than Y
  • Page 83: ForeColor not specified for lblVersion in the table
  • Page 106: Missing value in table
  • Page 107: "=" used in place of "=="
  • Page 107: Missing argument in NavigateToUrl function declaration
  • Page 125: Missing semi-colon in step 3 of the TO USE THE IMMEDIATE WINDOW section
  • Page 200: Missing parentheses in code sample

MORE INFORMATION


Page vi: Incorrect URL for code samples

On page vi the url for the code samples is incorrect. The correct url is:

http://www.microsoft.com/mspress/companion/0-7356-2229-9/

Page 43: Semicolon and parenthesis missing from the code sample

On page 43, the 17th line of the code sample reads:

MessageBox.Show("The sum of " + number1.ToString() + " and " + number2.ToString() + " is " + sum

It should read:

MessageBox.Show("The sum of " + number1.ToString() + " and " + number2.ToString() + " is " + sum);


Page 51: Location specified as X rather than Y

On page 51, in the 8th row of Table 4-3, the value of Property currently reads:

"Location:X"

It should read:

"Location:Y"

Page 83: ForeColor not specified for lblVersion in the table

On page 83, the 14th row of the table reads:

"lblCopyright | Label | ForeColor | Web:White"

It should read:

"lblVersion | Label | ForeColor | Web:White"

Page 106: Missing value in table

On page 106, the Value field in the tslblAddress row of the table is blank.

It should read:

"Address"

Page 107: "=" used in place of "=="

On page 107, the sixth line of the first code sample reads:

if (e.KeyCode = Keys.Enter)


It should read:

if (e.KeyCode == Keys.Enter)


Page 107: Missing argument in NavigateToUrl function declaration

On page 107, the tenth line of the first code sample reads:

private void NavigateToUrl()


It should read:

private void NavigateToUrl(string Url)


Page 125: Missing semi-colon in step 3 of the TO USE THE IMMEDIATE WINDOW section

On page 125, step 3 of the TO USE THE IMMEDIATE WINDOW section reads:

"Type the following line and press Enter: int i = 5"

It should read:

"Type the following line and press Enter: int i = 5;"

Page 200: Missing parentheses in code sample

On Page 200, line 17 of the code sample reads:

if (!(zipNumber > 999) && (zipNumber <= 99950))


It should read:

if (!((zipNumber > 999) && (zipNumber <= 99950)))



Microsoft Press is committed to providing informative and accurate books. All comments and corrections listed above are ready for inclusion in future printings of this book. If you have a later printing of this book, it may already contain most or all of the above corrections.

The print number of the book is located on the copyright page in the form of a string of numbers. For example: "2 3 4 5 6 7 8 0 QWT 9 8 76 5 4". The first number in the string is the the print number. In this example, the print number is 2.

Modification Type:MinorLast Reviewed:7/27/2006
Keywords:kbinfo kbdocfix kbdocerr KB905040 kbAudEndUser