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



The information in this article 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: "asp_wp.exe" Should Be "aspnet_wp.exe"
  • Page 30: 2 * System.Math.PI Should Be Math.PI
  • Page 105: fxCenter Should fyCenter for "public float Top"
  • 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 "return true" and "return false"
  • Pages 115 And 116: Correction To Factor Of Number
  • Page 116: Correction To Comment In Code

MORE INFORMATION

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:
"Advanced Web Froms Programming"

To:
"Advanced Web Forms Programming"

Page 8: "asp_wp.exe" Should Be "aspnet_wp.exe"

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 "public float Top"

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 "return true" and "return false"

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:
"For i = 1 To Math.Abs(Seed \ 2)"

To:
" For i = 2 To Math.Abs(Seed \ 2)"

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

Change:
" for (int i = 1; i <Math.Abs(Seed / 2); i++)"

To:
" for (int i = 2; i <Math.Abs(Seed / 2); i++)"

Page 116: Correction To Comment In Code

On page 116, in lines 5 and 6,

Change:

"invoke the CalcFactors procedure in asynchronously in as separate thread"

To:
" invoke the CalcFactors procedure asynchronously in a separate thread"

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.

Modification Type:MinorLast Reviewed:10/26/2004
Keywords:kbdocfix kbdocerr KB824497 kbAudEndUser