Microsoft KB Archive/905040

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

Article ID: 905040

Article Last Modified on 11/21/2007

-

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
 * Pages 54-55: Incorrect URL for MSDN tutorials
 * Page 57: Reference to chapter 5 instead of chapter 6
 * Page 65: Incorrect description of for loop output
 * Page 83: ForeColor not specified for lblVersion in the table
 * Page 106: Missing value in table
 * Page 107: &quot;=&quot; used in place of &quot;==&quot;
 * 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 131: Incorrect Column Names listed in Table 8-3
 * Page 200: Missing parentheses in code sample



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(&quot;The sum of &quot; + number1.ToString + &quot; and &quot; + number2.ToString + &quot; is &quot; + sum

It should read:

MessageBox.Show(&quot;The sum of &quot; + number1.ToString + &quot; and &quot; + number2.ToString + &quot; is &quot; + 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:

&quot;Location:X&quot;

It should read:

&quot;Location:Y&quot;

Pages 54-55: Incorrect URL for MSDN tutorials
On pages 54 and 55, the URL provided in the blue Important box at the top of the page of 54 and in the Links to More Information box on page 55 is incorrect.

The correct URL is: http://msdn.microsoft.com/vstudio/express/visualcsharp/learning/default.aspx

Page 57: Reference to chapter 5 instead of chapter 6
On page 57, the first sentence reads:

&quot;In Chapter 4, you started building your own Web browser, and in Chapter 5 you'll add to its capabilities.&quot;

It should read:

&quot;In Chapter 4, you started building your own Web browser, and in Chapter 6 you'll add to its capabilities.&quot;

Page 65: Incorrect description of for loop output
On page 65, the second sentence of step 4 reads:

&quot;In the second text box, you should see the numbers 1 through 10 separated by commas.&quot;

It should read:

&quot;In the second text box, you should see the numbers 0 through 10 separated by commas.&quot;

On page 65, the first sentence of step 8 reads:

&quot;Now build and execute by hitting F5 and when you click the button you should see the suite of 1 to 9 and then 10 to 1 in textBox2.&quot;

It should read:

&quot;Now build and execute by hitting F5 and when you click the button you should see the suite of 0 to 9 and then 10 to 1 in textBox2.&quot;

Page 83: ForeColor not specified for lblVersion in the table
On page 83, the 14th row of the table reads:

&quot;lblCopyright | Label | ForeColor | Web:White&quot;

It should read:

&quot;lblVersion | Label | ForeColor | Web:White&quot;

Page 106: Missing value in table
On page 106, the Value field in the tslblAddress row of the table is blank.

It should read:

&quot;Address&quot;

Page 107: &quot;=&quot; used in place of &quot;
&quot; ===

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:

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

It should read:

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

Page 131: Incorrect Column Names listed in Table 8-3
On page 131, the first two rows of Table 8-3 read:

&quot;OrderID (PK) (FK) integer Not Null

LineDetailID (PK) integer Not Null&quot;

They should read:

&quot;OrderDetailID (PK) integer Not Null

OrderID (FK) integer Not Null&quot;

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: &quot;2 3 4 5 6 7 8 0 QWT 9 8 76 5 4&quot;. The first number in the string is the the print number. In this example, the print number is 2.

Additional query words: 0-7356-2229-9 978-0-7356-2229-6

Keywords: kbinfo kbdocfix kbdocerr KB905040

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.