Errata

MCAD/MCSD Self-Paced Training Kit: Developing Web Applications with Microsoft® Visual Basic® .NET and Microsoft Visual C#® .NET

Errata for MCAD/MCSD Self-Paced Training Kit: Developing Web Applications with Microsoft® Visual Basic® .NET and Microsoft Visual C#® .NET

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 8

"asp_wp.exe" Should Be "aspnet_wp.exe"
On page 8, in the second paragraph,



Change:



(asp_wp.exe)



To:



(aspnet_wp.exe)

Microsoft Press  Jul 13, 2010 
Printed
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;

}

Microsoft Press  Jul 13, 2010 
Printed
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));

Microsoft Press  Jul 13, 2010 
Printed
Page 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



To:"



for (int i = 2; i

Microsoft Press  Jul 13, 2010 
Printed
Page 159

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



Change:



"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:"



To:



"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:"

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.

Microsoft Press  Jul 13, 2010 
Printed
Page 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"

Microsoft Press  May 06, 2010 
Printed
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);

Microsoft Press  May 06, 2010 
Printed
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

Microsoft Press  May 06, 2010 
Printed
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;

Microsoft Press  May 06, 2010 
Printed
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  May 06, 2010