Errata

MCTS Self-Paced Training Kit (Exam 70-505): Microsoft® .NET Framework 3.5 - Windows® Forms Application Development

Errata for MCTS Self-Paced Training Kit (Exam 70-505): Microsoft® .NET Framework 3.5 - Windows® Forms Application Development

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 CD-ROM

Readiness review question has two correct answers
On the Readiness Review assessment, one of the questions has two correct answers, but only one is marked correct.



The question begins:

"You are creating a Windows Forms application. An application form executes a long-running method named CalculateExponentialMovingAverage by creating an instance of the delegate that refers to the method implementation and calling the method's BeginInvoke method."



One of the answers is marked incorrect, but it is correct. The answer reads:

"Call the delegate's EndInvoke method."

Microsoft Press  Jul 13, 2010 
Printed
Page CD-ROM

Incorrect answer marked correct in Readiness Review
On the Readiness Review assessment, one of the questions has an incorrect answer marked correct.



The question reads:

"Your application includes an instance named configuration of the following class:



public class ApplicationConfiguration : INotifyPropertyChanged

{

public bool ShowDebug

{

set { ... }

get { ... }

}

...

}



You need to add code to your form to use databinding to show a Button control named debugButton if the ShowDebug property is true and to hide the button if it is not.



Which code segment should you use?"



This question marks two answers as correct, when there is only one correct answer. The incorrect answer that is marked correct reads:

this.debugButton.DataBindings.Add("Text", configuration, "ShowDebug");

Microsoft Press  Jul 13, 2010 
Other Digital Version
CD-ROM
Readiness Review assessment

The question reads:
"You need to add a button named button1 to a TableLayoutPanel named panel1 at run time. You want to add button1 to the second column of the second row.

Which code segment do you add to your form?"

The answer marked correct reads:

panel1.Controls.Add(panel1, 1, 1);

It should read:
panel1.Controls.Add(button1, 1, 1);

Jake VanderPlas
Jake VanderPlas
 
May 06, 2010 
Other Digital Version
CD-ROM
Readiness Review assessment

The question reads:
"You are reviewing the design of a Windows Forms application that will execute from a partially trusted environment. You must identify any task that will not be allowed with the default permission set granted for an application in the Local Intranet zone.

Which task should you identify?"

The answer that should be marked correct reads:

"Call unmanaged code"

Jake VanderPlas
Jake VanderPlas
 
May 06, 2010 
Other Digital Version
CD-ROM
Readiness Review assessment

The questions reads:

"Which of the following values for the Zoom property will cause the document to be previewed at 250 percent of normal size?"

The correct answer should be:
2.5

Jake VanderPlas
Jake VanderPlas
 
May 06, 2010 
Printed
Page 29

SizeType.Absolute should be SizeType.AutoSize
On page 29, the first sentence of the last paragraph refers to an incorrect SizeType.



Change:

"If you set a row or column style to a size type of anything other than SizeType.Absolute, you can also set the Width (for columns) or Height (for rows)."



To:

"If you set a row or column style to a size type of anything other than SizeType.AutoSize, you can also set the Width (for columns) or Height (for rows)."

Microsoft Press  Jul 13, 2010 
Printed
Page 30
first sentence after the second code sample

Change:
"Columns in a TableLayoutPanel are numbers starting at 1, while rows start at 0."

To:
"Columns and rows in a TableLayoutPanel are numbers starting at 0."

Jake VanderPlas
Jake VanderPlas
 
May 06, 2010 
Printed
Page 32

"SplitContainter" should be "SplitContainer"
On page 32, the 3rd sentence in the second paragraph contains a misspelled control.



Change:

"Note that a panel is fixed by the FixedPanel property only when the SplitContainter control is resized."



To:

"Note that a panel is fixed by the FixedPanel property only when the SplitContainer control is resized."

Microsoft Press  Jul 13, 2010 
Printed
Page 41
second sentence of the first bullet point under Chapter Summary

"BorderStyle" should be "FormBorderStyle"

Jake VanderPlas
Jake VanderPlas
 
May 06, 2010 
Printed
Page 50

property should be control
On page 50, the last sentence of the second paragraph is incorrect.



Change:

"The property will relocate to the new location."



To:

"The control will relocate to the new location."

Microsoft Press  Jul 13, 2010 
Printed
Page 96
Table 3-4

The last sentence of the "," section is missing a comma. "0," should be "0,,"

Jake VanderPlas
Jake VanderPlas
 
May 06, 2010 
Printed
Page 699

"TabContainer" should be "TabControl"
On page 699, the first sentence of Case Scenario 2 contains an incorrect control.



Change:

"You can use the TabContainer control to display multiple pages of information and allow the user to switch between pages while keeping the information static."



To:

"You can use the TabControl control to display multiple pages of information and allow the user to switch between pages while keeping the information static."

Microsoft Press  Jul 13, 2010 
Printed
Page 710

Answer C to Q2 of the Lesson Review on p.194 incorrectly states "Correct: Use the OledbConnection object when connecting to SQL Server 6.x and later databases"; should read "...and earlier" instead.
Answer D to Q2 of the Lesson Review on p. 194 incorrectly states "Incorrect: Use the SqlConnection object when connecting to SQL Server 2000 databases"; should read " version 7.0 or later".

Note from the Author or Editor:
Correct. Change as above.

nkmile64  Dec 01, 2010 
Printed
Page 733
question 1 of Lesson 3

Change:
B. Correct: In the Zoom property, a value of 1 represents 100 percent normal size. Thus, 25 would correspond to a Zoom of 2500 percent.

C. Incorrect: In the Zoom property, a value of 1 represents 100 percent normal size. Thus, 2.5 would correspond to a Zoom of 250 percent.

To:
B. Incorrect: In the Zoom property, a value of 1 represents 100 percent normal size. Thus, 25 would correspond to a Zoom of 2500 percent.

C. Correct: In the Zoom property, a value of 1 represents 100 percent normal size. Thus, 2.5 would correspond to a Zoom of 250 percent.

Microsoft Press  May 06, 2010 
Printed
Page 740

Correct answers marked as Incorrect
On page 740, the answers for Lesson 1 question 3 are partially incorrect and should include two other correct answers.



Change:

"3. Correct Answer: A

A. Correct: The ReportProgress method raises the ProgressChanged event and allows you to specify a percentage of progress.

B. Incorrect: You must handle the ProgressChanged event to implement coed that is executed when progress is reported.

C. Incorrect: It is unnecessary to poll the IsBusy property to report progress.

D. Incorrect: You cannot call the ReportProgress method unless the WorkerReportsProgress property is set to True."



To:

"3. Correct Answer: A, B, D

A. Correct: The ReportProgress method raises the ProgressChanged event and allows you to specify a percentage of progress.

B. Correct: You must handle the ProgressChanged event to implement coed that is executed when progress is reported.

C. Incorrect: It is unnecessary to poll the IsBusy property to report progress.

D. Correct: You cannot call the ReportProgress method unless the WorkerReportsProgress property is set to True."



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