Microsoft KB Archive/824497

= MCAD/MCSD Self-Paced Training Kit: Developing Web Applications with Microsoft Visual Basic .NET and Microsoft Visual C# .NET Second Edition Comments And Corrections =

Article ID: 824497

Article Last Modified on 9/19/2007

-

APPLIES TO


 * MSPRESS MCAD/MCSD Self-Paced Training Kit: Developing Web Applications with Microsoft Visual Basic .NET and Microsoft Visual C# .NET Second Edition, ISBN 0-7356-1927-1

-



SUMMARY
This article contains comments, corrections, and information about known errors relating to the Microsoft Press book MCAD/MCSD Self-Paced Training Kit: Developing Web Applications with Microsoft Visual Basic .NET and Microsoft Visual C# .NET Second Edition, 0-7356-1927-1.

The following topics are covered:


 * Chapter 7 Heading: Froms Should Be Forms
 * Page 8: &quot;asp_wp.exe&quot; Should Be &quot;aspnet_wp.exe&quot;
 * Page 30: 2 * System.Math.PI Should Be Math.PI
 * Page 105: fxCenter Should fyCenter for &quot;public float Top&quot;
 * Page 107: fCenter Should Be fzCenter And Math.PI Should Be System.Math.PI
 * Page 111: 2 * System.Math.PI Should Be Math.PI
 * Page 114: Correction To &quot;return true&quot; and &quot;return false&quot;
 * Pages 115 And 116: Correction To Factor Of Number
 * Page 116: Correction To Comment In Code
 * Page 159: &quot;Webform1&quot; and &quot;Webform2&quot; should be &quot;Text1&quot; and &quot;Text2&quot;



Chapter 7 Heading: Froms Should Be Forms
Chapter heading, running along the top of every (all but the first) odd page in Chapter 7, contains an error.

Change:

&quot;Advanced Web Froms Programming&quot;

To:

&quot;Advanced Web Forms Programming&quot;

Page 8: &quot;asp_wp.exe&quot; Should Be &quot;aspnet_wp.exe&quot;
On page 8, in the second paragraph,

Change:

(asp_wp.exe)

To:

(aspnet_wp.exe)

Page 30: 2 * System.Math.PI Should Be Math.PI
On page 30, in Figure 1-23,

Change:

dblCircArea = 2 * Math.PI * Math.Pow(dblRadius, 2);

To:

dblCircArea = Math.PI * Math.Pow(dblRadius, 2);

Page 105: fxCenter Should fyCenter for &quot;public float Top&quot;
On page 105, in the code sample,

Change:

public float Top {  get {      return fxCenter - fRadius; } set {    fxCenter = value + fRadius; }

To:

public float Top {  get {      return fyCenter - fRadius; } set {    fyCenter = value + fRadius; }

Page 107: fCenter Should Be fzCenter And Math.PI Should Be System.Math.PI
On page 107, in the code sample for Visual C#, fCenter should be fzCenter, and Math.PI should be System.Math.PI

Page 111: 2 * System.Math.PI Should Be Math.PI
On page 111, at the bottom of the page,

Change: return (float)(2 * System.Math.PI * Math.Pow((double)fRadius, 2)); To:

return (float)(Math.PI * Math.Pow((double)fRadius, 2));

Page 114: Correction To &quot;return true&quot; and &quot;return false&quot;
On page 114, in the code sample,

Change:

if (x % i == 0) return true; return false; To:

if (x % i == 0) return false; return true;

Pages 115 And 116: Correction To Factor Of Number
On page 115, in the code sample for Visual Basic,

Change:

&quot;For i = 1 To Math.Abs(Seed \ 2)&quot;

To:

&quot; For i = 2 To Math.Abs(Seed \ 2)&quot;

On page 116, in the code sample for Visual C#,

Change:

&quot; for (int i = 1; i <Math.Abs(Seed / 2); i++)&quot;

To:

&quot; for (int i = 2; i <Math.Abs(Seed / 2); i++)&quot;

Page 116: Correction To Comment In Code
On page 116, in lines 5 and 6,

Change:

&quot;invoke the CalcFactors procedure in asynchronously in as separate thread&quot;

To:

&quot; invoke the CalcFactors procedure asynchronously in a separate thread&quot;

Page 159: &quot;Webform1&quot; and &quot;Webform2&quot; should be &quot;Text1&quot; and &quot;Text2&quot;
On page 159, in the first 2 steps of the practice the the word &quot;Webform&quot; needs to be replaced with &quot;Text&quot;.

Change:

&quot;1. Start a new Web application with two Web forms named Webform1 and Webform2.

2. On Webform1, draw Label, TextBox, and Button controls, and set their properties to the values shown in the following table:&quot;

To:

&quot;1. Start a new Web application with two Web forms named Text1 and Text2.

2. On Text1, draw Label, TextBox, and Button controls, and set their properties to the values shown in the following table:&quot;

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.

Additional query words: 0-7356-1927-1 978-0-7356-1927-2

Keywords: kbdocfix kbdocerr KB824497

-

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

© Microsoft Corporation. All rights reserved.