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.
Version |
Location |
Description |
Submitted By |
Date Submitted |
Date Corrected |
Other Digital Version |
Location 2275-94
3rd option |
.mobi Version
The table containing the questions of the lesseon is cutted, not being able to view all the content.
Note from the Author or Editor: issue for formatting team
|
Luciano Soares |
Jan 29, 2011 |
|
Other Digital Version |
Location 2799-819
the question |
.mobi Version
The table containing the questions of the lesson is cutted, not being able to view all the content.
Note from the Author or Editor: Please forward to the .mobi team to rectify.
|
Luciano Soares |
Jan 29, 2011 |
|
Other Digital Version |
Location 4191
2nd question |
.mobi Version
The table containing the questions of the lesseon is cutted, not being able to view all the content.
Note from the Author or Editor: forward to .mobi team to rectify.
|
Luciano Soares |
Jan 31, 2011 |
|
Other Digital Version |
.
Question ID 511P_1.2_07 & 511P_3.2_01 |
Practice test questions -
Question ID 511P_1.2_07
The correct answer here is incorrectly displayed :
panel1.Controls.Add(panel1, 1, 1);
It should read:
panel1.Controls.Add(button1, 1, 1);
==
Question ID 511P_3.2_01
The correct answer rendered by the test engine indicates A "TypeConverter"
class should be used. However the comments indicate that the TypeConverter
is incorrect in this instance and that an Implementation of IValueConverter
should be used instead.
Note from the Author or Editor: Forward to practice test team.
|
Anonymous |
Jun 13, 2011 |
|
Printed |
Page i
Bottom "Exam Objectives" |
The link given for the Microsoft Learning website (http://www.microsoft.com/learning/en/us/exams/70-237.mspx) is not for this exam (70-511).
Note from the Author or Editor: Change to http://www.microsoft.com/learning/en/us/exams/70-511.mspx
|
Anonymous |
Jul 06, 2011 |
Mar 09, 2012 |
Other Digital Version |
i
Practice Exam. Question P_2.1_10 |
The question asks for a type of event. The correct answer should be 'Create an attached event', this can be concluded from the explaination and the link provided to MSDN. But the application incorrectly states that 'Add a tunneling event...' is the correct answer.
Note from the Author or Editor: Change correct answer to Create an attached event.
|
Jeroen Schilders |
Jul 11, 2011 |
|
Other Digital Version |
N
Question ID: 511P_3.8_02 |
Question ID: 511P_3.8_02
Question text is about "Employee" and "Supervisor" objects, but answers refer to "Customer" and "Order" ?
Note from the Author or Editor: Practice test errata-please forward to the practice test author.
|
Richard Dutton |
Aug 10, 2011 |
|
Printed |
Page n/a
Practice Test |
There is no valid answer to this question on the practice test:
"You are implementing a Windows Forms application. A button named button1 should be added to the second column of the second row of a TableLayoutPanel named panel1. You need the button at run time.
Which code segment do you add to your form?"
The answer which we are told is correct is:
panel1.Controls.Add(panel1, 1, 1)
That should be:
panel1.Controls.Add(button1, 2, 1)
Because we are adding the button, not the panel, and rows start at 0 so the second row is 1 but columns start at one so the second column is 2.
Note from the Author or Editor: Correct. Change as above.
|
Julie |
Aug 31, 2011 |
|
Printed |
Page n/a
Practice test |
For this question:
"You are implementing a WPF window. You must add a control that, when clicked, executes a command and displays an image. You need to choose and configure the control that provides this functionality with the least custom code.
What should you do?"
The explanation says "A Button control supports commands and can easily be configured to display a button. "
I think you mean to say "...to display an image."
Note from the Author or Editor: Correct. Fix as above.
|
Juliw |
Aug 31, 2011 |
|
Printed |
Page n/a
practice test |
Here's the question:
"You are implementing a multiple document interface (MDI) features Windows Forms application. Both the MDI parent window and child windows will include a menu. Upon activation, the child menu should be automatically merged into the parent's menu. You need to choose a control to host menu items. Your choice should support MDI menu merging with minimum custom code.
Which control should you choose?"
The answer given is that MainMenu should be used because MenuStrip (and there's a typo in the explanation as it calls this "MainStrip") has been deprecated. According to what I read, it's MainMenu that is older and MenuStrip has more functionality. Is this answer correct?
Note from the Author or Editor: Looks like these were reversed. MainMenu has been deprecated and Menustrip should be used.
|
Julie |
Aug 31, 2011 |
|
Printed |
Page n/a
n/a |
The disc provided with the book contains Practice Test software. One of the Practice Test questions (511P-VB_3.2_01) asks me to choose between answers that include "Implement a TypeConverter". If I pick this answer, I am marked correct. However, in the explanation of the correct answer, it says "TypeConverters cannot be used for a specific binding, as is needed here" - obviously a blatant contradiction, meaning that either the correct answer specified by the software is in error or the explanation given by it is in error.
Similarly, if I select as my answer "Create an implementation of the IValueConvert interface", I am marked wrong, but the explanation reads "An IValueConverter interface provides a way to apply custom logic to a binding-in this case, convert a string length to a boolean".
(A minor secondary error is seen in the fact that "a binding - in this case" has been incorrectly rendered as "a binding-in this case".)
Note from the Author or Editor: I did not write the practice test questions. Issue for practice test authors.
|
Anonymous |
Sep 19, 2011 |
|
Printed |
Page 1
Practice Test, Question 511L_1.1_26 |
The answer to this question on the included practice test is incorrect.
The test it says that the option to use the Button.ImageKey property to set the image on a button, however the correct answer is the option to use the Button.ImageIndex property.
Note from the Author or Editor: Please forward to practice test authors
|
Anonymous |
Mar 04, 2011 |
|
Printed |
Page 1
Practice Test, Question 511L_2.5_01 |
Apologies about 511L_1.1_26 above, it is correct.
However 511L_2.5_01 is incorrect.
The current answer sets ScaleY="-1" which flips over the X-Axis. However the question is asking to flip over the Y-Axis; to flip across the Y-Axis you must set ScaleX="-1".
Note from the Author or Editor: Forward to practice test authors.
|
Anonymous |
Mar 04, 2011 |
|
Printed, PDF |
Page 1
Question 511P_4.6_0.3 |
The explanation for question 511P_4.6_0.3 states that "Application-scoped settings are saved to a file named assemblyname.config".
Question 511P_4.6_02 actually (and correctly) states that:
"By default, Visual Studio stores application settings in the assemblyname.exe.config file."
Note from the Author or Editor: Change assemblyname.config to assemblyname.exe.config
|
Anonymous |
Oct 12, 2011 |
|
PDF |
Page 9
6th paragraph |
HorizontalScrollBar should be HorizontalScrollBarVisibility in "You also can enable a horizontal scroll bar by setting the HorizontalScrollBar property, but this setting is less useful."
Note from the Author or Editor: correct
|
Lord Wilfrando |
Nov 29, 2011 |
Mar 09, 2012 |
Printed |
Page 10
lines 3 and 7 in table |
In fact, a ProgressBar control does not use LargeChange and SmallChange properties. It is described in the article "RangeBase.LargeChange Property" in MSDN.
Note from the Author or Editor: Let's delete lines 3 and 7 in this table.
|
Wei Zhong |
Feb 06, 2012 |
Mar 09, 2012 |
Printed, PDF |
Page 14
2nd Paragraph |
It states:
If the ComboBox control hosts a list of CheckBox controls, the string representation of the ComboBox.Content property is displayed.
As a newcomer to .NET 4 this might be a lack of understanding on my part, if so, I apologise in advance. I just can't seem to find a ComboBox.Content property or am I just being daft?
Note from the Author or Editor: Not daft. This should read Checkbox.Conent
|
Anonymous |
Sep 14, 2011 |
Mar 09, 2012 |
Other Digital Version |
18
1 |
Question 511P_3.8_05 reports the correct answer as B (a trigger should apply a scale transform...) while the correct answer is A (a list item's border should be red...). The explanation of the answer describes that A is the correct answer but the yellow highlight is on B.
Note from the Author or Editor: A is the correct answer. Change highlight.
|
Anonymous |
Jul 01, 2011 |
|
Printed |
Page 20
Table 1-7 |
Column Property: HorizonalContentAlignment must be HorizontalContentAlignment
Note from the Author or Editor: Correct. Change as above.
|
Fredless |
Feb 23, 2011 |
Mar 09, 2012 |
Printed |
Page 24-25
in Table 1-8 |
In Description of HorizontalAlignment, it says "For vertical grid splitters, this property should be set to Top or Bottom". The correct sentence should be "...set to Left or Right".
Similarly, in Description of VerticalAlignment, it says "For horizontal grid splitters, this property should be set to Left or Right". The correct sentence should be "...set to Top or Bottom".
Note from the Author or Editor: Correct. Change as above.
|
Stephie |
Mar 01, 2011 |
Mar 09, 2012 |
Printed |
Page 28-29
Figures vs Text |
Text says that figure 1-2 shows a button docked at top, but the figure 1-2 actually shows a button docked on the left.
Figures 1-3, 104, and 1-5 exhibit the same error pattern.
Note from the Author or Editor: Correct. Change to read "... docked to the side of the container"
|
K Seaman |
Feb 10, 2011 |
Mar 09, 2012 |
Printed, PDF |
Page 30
Bottom |
Several instances of Canvas.ZIndex should be replaced with Panel.ZIndex because ZIndex is attached property of Panel, not Canvas.
Note from the Author or Editor: Correct. Change Canvas.ZIndex to Panel.Zindex
|
Robert K |
Aug 17, 2011 |
Mar 09, 2012 |
Printed |
Page 45
Second listed item, bottom of page |
Under "Creating Resource-Only DLLs", the last sentence of item 2 says to set the "Application Type to Class Library". On the Application tab, one sents the Output Type, not the Application Type.
Note from the Author or Editor: Correct. Change as above.
|
Ron D Garrison |
Feb 18, 2011 |
Mar 09, 2012 |
Printed |
Page 46
code before "Using Logical Resources" |
When defining the string array for "res", the code should be "String[] res" versus "String res[]" for C#.
Note from the Author or Editor: Correct. Change as above.
|
Ron D Garrison |
Feb 18, 2011 |
Mar 09, 2012 |
Printed |
Page 46
code in #1 |
1. Get the AssemblyName object that represents the resource-only assembly, as shown
here:
Sample of Visual Basic Code
Dim aName As System.Reflection.AssemblyName
aName = System.Reflection.AssemblyName.GetAssemblyName("C:\myAssembly.dll"))
Sample of C# Code
System.Reflection.AssemblyName aName;
aName = System.Reflection.AssemblyName.GetAssemblyName("C:\\myAssembly.dll"));
Both of those have an extra closing parenthesis at the end!
Note from the Author or Editor: Correct. Delete extra paraenthesis.
|
Anonymous |
Nov 14, 2011 |
Mar 09, 2012 |
Printed, PDF |
Page 64
Note ACTIONS IN ANIMATIONS |
In the Note section of Chapter 1 on page 64 the book mentions that "Actions are used primarily in animations, and they are discussed in greater detail in Lesson 2 of this chapter.", but Lesson 2 of the same chapter only refers to Resources and says nothing about "Actions", Reviewing the MCTS Self-Paced Training Kit 70-502 book, at Chapter 7 - Page 314 the same note appears and sure enough in that chapter the "Actions" is explained. This sounds like a case of copy and paste gone wrong.
Note from the Author or Editor: Correct. Delete this note.
|
Mauricio J. Aspiazo |
Mar 03, 2011 |
Mar 09, 2012 |
Printed |
Page 64
Table 1-11 |
In the first two rows of Table 1-11, it says that "Actions are discussed in greater detail in Lesson 2 of this chapter." This table is in Chapter one, Lesson 3. Actions are not discussed in Lesson 2 - they are explained in Chapter 2.
Note from the Author or Editor: Change 'Lesson 2 of this chapter' to Chapter 2.
|
Julie |
Sep 29, 2011 |
Mar 09, 2012 |
Printed, PDF |
Page 78
Under "Bubbling Events" and "Tunneling Events" sections |
A layout panel called "FlowPanel" is mentioned several times on page 78, but there is no longer a control of that name in WPF 4. I believe it was the old version of WrapPanel, but I'm not certain.
Note from the Author or Editor: Change FlowPanel to StackPanel on page 78
|
Tim Valentine |
May 30, 2011 |
Mar 09, 2012 |
PDF |
Page 95
bottom |
is: "public RoutedUICommand Launch"
should be: "public static RoutedUICommand Launch"
Note from the Author or Editor: Yes. Insert static.
|
DS |
Jun 26, 2011 |
Mar 09, 2012 |
Printed |
Page 105
"Simultaneous Animations" -> example |
Storyboard.TargetProperty="Widtht" should be Storyboard.TargetProperty="Width"
Note from the Author or Editor: Correct. Change as above.
|
Jorg Ian Floren |
Jul 15, 2011 |
Mar 09, 2012 |
Printed |
Page 126
Line 2-3 |
"RadiusX determines the distance of the outermost circle in the vertical dimension and RadiusY determines it in the horizontal dimension." should be: "RadiusX determines the distance of the outermost circle in the horizontal dimension and RadiusY determines it in the vertical dimension."
Note from the Author or Editor: Correct-change as above.
|
Stephie |
Mar 13, 2011 |
Mar 09, 2012 |
Printed |
Page 131
Table 3-7 |
In the description of NonZero, the last line is around the wrong way. It should be, "...the area is not filled. Otherwise, the area is filled."
Note from the Author or Editor: Correct. Fix as above.
|
Stephie |
Mar 14, 2011 |
Mar 09, 2012 |
PDF |
Page 205
Table 4-16, 2nd item |
The AsciiOnly property, when set to True, does allow use of ASCII characters other than letters (i.e., numbers, punctuation, etc.) when the masking element of the Mask property is ampersand (&) or C.
While this is also incorrect on the Microsoft page:
http://msdn.microsoft.com/en-us/library/system.windows.forms.maskedtextbox.asciionly.aspx
It is explained here:
http://msdn.microsoft.com/en-us/library/system.windows.forms.maskedtextbox.mask.aspx
Note from the Author or Editor: Correct. Update as above.
|
Richardt11 |
Apr 30, 2011 |
Mar 09, 2012 |
Printed |
Page 213
Table 4-19 |
The property "SelectedItem" does NOT return the index of any selected item when the SelectionMode is set to MultiSimple or MultiExtended. It returns one of the selected items.
Note from the Author or Editor: correct. Replace 'the index of any selected item' with 'one of the selected items'
|
Anonymous |
Apr 25, 2011 |
Mar 09, 2012 |
Printed |
Page 213
Table 4-19 |
In the definition of the property MultColumn, it says "Indicates whther this item shows multiple columns of items or only a single item." I believe that should be "...only a single column."
Note from the Author or Editor: Correct. Change single item to single column.
|
Julie |
Aug 27, 2011 |
Mar 09, 2012 |
Printed |
Page 221
Table 4-22 |
In "," (Thousands separator and scaling) section, the last line of Description is wrong: "0," should be "0,,".
Note from the Author or Editor: Correct, change as above.
|
Stephie |
Mar 30, 2011 |
Mar 09, 2012 |
Printed |
Page 240
240 lesson summary 4 bullet |
"Although multiple items can be selected, only one item can be selected in the CheckedListBox ****at any time.****"
should say "at **a** time.***.
Note from the Author or Editor: correct. change as above.
|
Anonymous |
Apr 20, 2011 |
Mar 09, 2012 |
Printed |
Page 254,255
Bottom 254 C# code sample, Top 255 C# code sample |
ToolStripMenuItem newMenuItem1;
ToolStripMenuItem newMenuItem2;
//Adds a new menu item by specifying text
newMenuItem1 = MenuStrip1.Items.Add("File");
***above line must cast MenuStrip1.Items.Add("File") to ToolStripMenuItem**
----- newMenuItem1 = (ToolStripMenuItem)MenuStrip1.Items.Add("File");------
Likewise
//Adds a new menu item by specifying an image
***above line must cast MenuStrip1.Items.Add("File") to ToolStripMenuItem**
----- newMenuItem1 = (ToolStripMenuItem)MenuStrip1.Items.Add(anImage);------
Note from the Author or Editor: Correct. Modify code sample as shown above.
|
Anonymous |
Apr 22, 2011 |
|
Printed |
Page 265
Exercise 3 |
At the start of Exercise 3 (In Ch4, Lesson 4), Step 1 instructs you to 'Open the partial solution for this exercise on the companion CD' but there is no such solution included on the disk. Exercise 3 is simply a continuation of exercises 1 and 2.
Note from the Author or Editor: There should have been a partial solution included on disk, but an alternate solution is to simply continue with the finish of exercise 2.
|
Adam Delaney |
Sep 07, 2011 |
|
Printed |
Page 267
6yh bullet point in Lesson Summary |
"The MenuStrip control is the host for ToolStripMenuItem properties, which represent individual menu items." I think these are objects, not properties.
Note from the Author or Editor: Correct. Change properties to objects.
|
Julie |
Aug 28, 2011 |
Mar 09, 2012 |
Printed |
Page 268
Question 2 |
question 2 reads
"Which of the following code samples will add a new menu named Menu1..."
should read
"Which of the following code samples will add a new menuStrip named Menu1..."
Note from the Author or Editor: correct. Fix as above.
|
Anonymous |
Apr 23, 2011 |
Mar 09, 2012 |
Printed |
Page 269
Question 5 |
Within question 5 (Ch4, lesson 4) which reads 'Which of the following code sample will add a new ToolStripButton property to a tool strip named aToolStrip?', for which the correct answer is 'A', the answer reads as follows;
Sample of C# Code
aToolStrip1.Items.Add(new ToolStripButton("Click me"));
The answer should read as follows;
Sample of C# Code
aToolStrip.Items.Add(new ToolStripButton("Click me"));
This is only an error in the C# Code, the Visual Basic Code for this question is correct.
Note from the Author or Editor: Change as above.
|
Adam Delaney |
Sep 07, 2011 |
Mar 09, 2012 |
PDF |
Page 286
1st and 2nd bulleted items |
The following
* Dialog boxes are special forms that are designed to collect information from the user. Dialog boxes can be displayed either modally or modelessly. Modal dialog boxes halt program execution until the dialog box is closed, whereas modeless dialog boxes allow
program execution to continue while they are displayed.
* You can use the ShowDialog method to set the parent form of a dialog box. You can then retrieve information from the parent form by casting a reference to the parent form to the appropriate type.
Should be located in the review for lesson two(2) and not lesson one(1).
Note from the Author or Editor: Yes. Move to lesson 2.
|
Louis Sequin |
Jul 19, 2011 |
Mar 09, 2012 |
Printed |
Page 295
"Using Predefined Part Names in a Template" Line 5 |
"Part_ContentHost" should be "PART_ContentHost"
Note from the Author or Editor: Change as above.
|
Jorg Ian Floren |
Jul 15, 2011 |
Mar 09, 2012 |
Printed |
Page 318
NotifyOnTargetUpdated description |
The description states that the property controls whether to raise the SourceUpdated event, but it actually controls whether to raise the TargetUpdated event.
Note from the Author or Editor: Correct. Change as above.
|
BTipton |
Aug 14, 2011 |
Mar 09, 2012 |
Printed, PDF |
Page 320
1st Paragraph |
WindowColor is a color, but Button Background is a Brush...
Therefore...
<Button Background="{Binding Source={x:Static SystemColors.WindowColor}}"
Height="23" Width="75">Button</Button>
should be
<Button Background="{Binding Source={x:Static SystemColors.WindowBrush}}"
Height="23" Width="75">Button</Button>
Note from the Author or Editor: Change as described above
|
Wes |
Oct 01, 2011 |
Mar 09, 2012 |
Printed |
Page 337
Top page in code sample for Convert |
In the Case "de-DE" section, the value returned should be "myTranslator.EnglishToGerman(aString)", not "myTranslator.FrenchToEnglish(aString)"
Note from the Author or Editor: Correct
|
Bob Tipton |
Nov 19, 2011 |
Mar 09, 2012 |
Printed, PDF |
Page 345
Answers A-D for Question 2 |
Answers A and B: <Label is not properly closed with />
Answers C and D: <Label.Content> is closed with </Label> instead of </Label.Content>
Note from the Author or Editor: Correct. Fix as above.
|
Stefan Küsters |
Mar 22, 2011 |
Mar 09, 2012 |
Printed |
Page 345
Answer C&D have identical error |
<Label.Content>-tag is not closed, instead the <Label>-tag is closed twice
Note from the Author or Editor: Change the first closed Label tag to a closed Label.Content tag
|
Jorg Ian Floren |
Jul 15, 2011 |
Mar 09, 2012 |
Printed |
Page 351
Sample VB code |
The argument used in the PropertyChangedEventArgs in the Set Property for the Property Name should not be "LastName" but "Name". The class name is LastName, but the property is Name. (Actually it would make more sense if the class name were Name and the property LastName, but that's not what is written in the sample code.)
Note from the Author or Editor: Correct
|
Julie |
Nov 27, 2011 |
Mar 09, 2012 |
Printed |
Page 370
Sample of C# Code |
sample code is in wrong font and bold
also XAML comment line "<!-- XAML -->" is in bold
Note from the Author or Editor: Fix font.
|
Jorg Ian Floren |
Jul 15, 2011 |
Mar 09, 2012 |
Printed |
Page 371
First line of C# code sample |
comment line should start with "//", which is currently not the case
Note from the Author or Editor: Start comment line with a //
|
Jorg Ian Floren |
Jul 15, 2011 |
Mar 09, 2012 |
Printed |
Page 372
2nd & 3rd Paragraph |
Words containing Hyphen that aren't cut off.
2nd "CollectionViewSource.Get-DefaultView"
3rd "BindingList-CollectionView"
Note from the Author or Editor: Remove hyphens
|
Jorg Ian Floren |
Jul 15, 2011 |
Mar 09, 2012 |
Printed |
Page 381
Exercise 2, step 1 |
The code presented should close with <Window>, not </Window.Resources>.
Note from the Author or Editor: Correct. Add <Window> to close the code.
|
Bob Tipton |
Nov 12, 2011 |
Mar 09, 2012 |
Printed |
Page 387
2nd paragraph in Setting the Data Template |
The text, "you set the ItemsTemplate property" should read "you set the ItemTemplate property".
Note from the Author or Editor: correct. Change ItemsTemplate to ItemTemplate.
|
Bob Tipton |
Nov 14, 2011 |
Mar 09, 2012 |
Printed |
Page 393
2nd paragraph |
"HierarchicalDatatemplate" should be "HierarchicalDataTemplate"
Note from the Author or Editor: Change as above
|
Jorg Ian Floren |
Jul 15, 2011 |
Mar 09, 2012 |
Printed |
Page 393
Second paragraph |
In the description of the example for the HierarchicalDataTemplate XAML code, it states the interface contains a TreeView control, but then says the HierarchicalDataTemplate is applied to the "items displayed in ListView" and the ItemTemplate property is "applied to sub-items in Listview". There is no Listview in the example.
Note from the Author or Editor: Change Listview to Treeview
|
Julie |
Nov 12, 2011 |
Mar 09, 2012 |
Printed |
Page 393
XML code |
The bolded attribute ...
ItemTemplate="BasicTemplate"
...is incorrect.
It should be:
ItemTemplate="{StaticResource BasicTemplate}"
Note from the Author or Editor: Correct. Change as indicated.
|
Julie |
Nov 12, 2011 |
Mar 09, 2012 |
Printed |
Page 399
1st paragraph |
In the second sentence of the first paragraph, the phrase "The ICollectionView property accepts" should be "The Filter property accepts".
Note from the Author or Editor: correct
|
Bob Tipton |
Nov 14, 2011 |
Mar 09, 2012 |
PDF |
Page 400
VB Code Sample |
Chapter 7, lesson 2, Filtering ADO.net objects
Dim myView As BindingListCollectionView
myView = CType(CollectionViewSource.GetDefaultView(myItems), _
BindingListCollectionView;
myView.CustomFilter = "Sandwich = 'Muffaletta'"
The CType above ends with a ";" and should end with a ")"
Note from the Author or Editor: Yes. Insert a ) before the ;
|
Louis Sequin |
Aug 02, 2011 |
Mar 09, 2012 |
Printed |
Page 407
first paragraph |
first paragraph,"The display of data in a grid form has been a constant "meme" in data display...", should read, "...has been a constant "theme".......
Note from the Author or Editor: correct. Fix as above.
|
Anonymous |
Jun 26, 2011 |
Mar 09, 2012 |
Printed |
Page 411
Quick Check window |
Quick Check window should come after "Displaying Data in DataGridView" section because the answer of the 2nd question is described in that part
Note from the Author or Editor: Move the Quick Check to that section.
|
Jorg Ian Floren |
Jul 15, 2011 |
Mar 09, 2012 |
Printed |
Page 465
Exercice 3. (Visual Basic Code) |
The parameters in the method "Label1.Dispatcher.BeginInvoke(Windows.Threading.DispatcherPriority.Normal, update, i)" are inverted.
This should be Label1.Dispatcher.BeginInvoke(update, Windows.Threading.DispatcherPriority.Normal, i)
Note from the Author or Editor: Correct-fix as above.
|
Anonymous |
May 19, 2011 |
Mar 09, 2012 |
Printed |
Page 476
Sample of Visual basic Code |
The name of the class converter is DateBrushConverter. It should be LanguageConverter as in the C# code.
Note from the Author or Editor: Correct, change as above
|
Anonymous |
May 19, 2011 |
Mar 09, 2012 |
Printed |
Page 488
Exercise 4, XAML code |
The xaml node "<indowsFormsHost Margin..." is not correct. It should be "<WindowsFormsHost Margin..."
Note from the Author or Editor: Correct fix as above.
|
Anonymous |
May 19, 2011 |
Mar 09, 2012 |
PDF |
Page 497
C# Sample |
Sample of C# Code
System.Security.Permissions.FileIOPermissionaPermission= new
System.Security.Permissions.FileIOPermission(Security.Permissions.PermissionState
.Unrestricted);
System.Security.SecurityElementanElement;
anElement = aPermission.ToXml;
System.IO.StreamWriteraWriter= new System.IO.StreamWriter("C:\\myPermissionXml.txt");
aWriter.Write(anElement.ToString);
aWriter.Flush();
aWriter.Close();
Incorrect/Missing variable declarations (aPermission, anElement and aWriter), VB sample is good.
Note from the Author or Editor: Correct. Add space between FileIOPermission and aPermission as well as StreamWriter and aWriter and SecurityElement and anElement
|
Anonymous |
Feb 11, 2011 |
Mar 09, 2012 |
Printed |
Page 498
c# code top of page |
So that others may see
space is left out between declared variables
should be:
System.Security.Permissions.FileIOPermssion(space)aPermission = ...
System.Security.SecurityElement(space)anElement;
System.IO.StreamWriter(space)aWriter....
Note from the Author or Editor: Yes. Add spaces as indicated.
|
Anonymous |
Jul 13, 2011 |
Mar 09, 2012 |
Printed |
Page 509
Lesson Review Question 2 C# Code A,B and D |
Sample Code for C# answers A, B and D
all should have space between type and variable aColor:
"System.Windows.Media.Color(space)aColor;
Note from the Author or Editor: Yes. Change as above.
|
Anonymous |
Jul 13, 2011 |
Mar 09, 2012 |
Other Digital Version |
511p_3.8_02
type of the question, last line |
The last line of the question says:
What should you do? (Each correct answer presents part of the solution. Choose two.)
But there's no two step solution proposed. Actually it should say:
What should you do? (Each correct answer present a complete solution. Choose two.)
This is confirmed by the explanation that give the 2 answers as
* Define an implicit data template for Customer and Order types.
* Define a named data template for Customer and Order types. Create and configure an item template selector.
These answers are mutually exclusive, and the explanation given makes it clear that each answer is a complete solution.
Note from the Author or Editor: Correct. Change as described.
|
Anonymous |
Sep 19, 2011 |
|
Printed |
Page 530
Exercise 5, Visual Basic Code |
The comma is missing in "New ListBoxItemAutomationPeer(aWindow.ListBox1.Items(3)LBAutomationPeer)"
-> "New ListBoxItemAutomationPeer(aWindow.ListBox1.Items(3),LBAutomationPeer)"
Note from the Author or Editor: Correct, change as above.
|
Anonymous |
May 21, 2011 |
Mar 09, 2012 |
Printed |
Page 530
#5 C# code to automate scrolling of the ListBox |
In the code to automate scrolling of the ListBox the following
code is repeated:
ScrProvider.Scroll(System.Windows.Automation.ScrollAmount.NoAmount, System.Windows.Automation.ScrollAmount.LargeIncrement);
Should one of these be SmallIncrement? that is
ScrProvider.Scroll(System.Windows.Automation.ScrollAmount.NoAmount, System.Windows.Automation.ScrollAmount.SmallIncrement);
Note from the Author or Editor: Yes. Change LargeIncrement in the second line to SmallIncrement.
|
Anonymous |
Jul 14, 2011 |
Mar 09, 2012 |
PDF |
Page 530
step 5 VB example |
The following:
Dim LBIAutomationPeer As +
New ListBoxItemAutomationPeer(aWindow.ListBox1.Items(3)LBAutomationPeer)
I not correct, it has two mistakes and should read:
Dim LBIAutomationPeer As _
New ListBoxItemAutomationPeer(aWindow.ListBox1.Items(3),LBAutomationPeer)
The corrections are the removal of the "+" character and the substitution of the line continuation char and the addition of a comma after "Items(3)"
Note from the Author or Editor: Yes. Change as above.
|
Louis Sequin |
Aug 19, 2011 |
Mar 09, 2012 |
Printed |
Page 532
Question 1 of Lesson Review |
Question one is "Which of the following is NOT required to automate a WPF control? (Choose all that apply.)
However the answer on page 603 expects you to pick the 3 correct answers, A, C and D. Either the "NOT" should be removed from the question, or the answer should be "B".
Note from the Author or Editor: Remove NOT from question.
|
Julie Casciato |
Aug 12, 2011 |
Mar 09, 2012 |
Printed |
Page 582
Question 1 |
Similar to location "Page 1 Practice Test, Question 511L_2.5_01", the correct answer should be D instead of B. To flip across y-axis, ScaleX (not ScaleY) needs to set to "-1".
Note from the Author or Editor: Correct. Fix as above.
|
Anonymous |
Mar 06, 2011 |
Mar 09, 2012 |