Wrox Home  

Topic: C# and C++

Stephens' C# Programming with Visual Studio 2010 24-Hour Trainer (0470596902) cover image

Stephens' C# Programming with Visual Studio 2010 24-Hour Trainer

Rod Stephens
ISBN: 978-0-470-59690-6
552 pages
May 2010
This title is out-of-print and not currently available for purchase from this site.

Do you think you've discovered an error in this book? Please check the list of errata below to see if we've already addressed the error. If not, please submit the error via our Errata Form. We will attempt to verify your error; if you're right, we will post a correction below.

ChapterPageDetailsDatePrint Run
5 Error in Text
Page 5, Fig. 1-1: You may see only the Basic and Expert choices for importing and exporting choices. Other settings are available for different versions of Visual Studio.
6 Error in Text
Fig. 1-2 should include text reading:
When you create a new project, the Location and Solution Name boxes are not present. You'll see them when you first save the project.
13 Suggestion
Author Rod Stephens suggested our posting something to this effect on the title page for this book at Wrox per the customer's suggestion:
Kenn Macintosh suggested adding this comment to Chapter 1: "If you have mutliple monitors, you can FLOAT a window and move them to other Monitors giving you a larger editing area". An excellent suggestion, Kenn! I only have one monitor but I work with some people who use two and they move forms that are used less often to the second monitor so they can have more space for their main task.
17 Error in Text
Exercise 3 should include additional information reading:
By default the Immediate window is hidden in the Express edition. However, it is useful so it's worth tracking down. One way to display it is to open the menu View > Other Windows > Command Window. Then in the Command Window type "immed" and press Enter.
44 Error in Text
Exercise 3 should include the following additional text:

Selecting the SpointContainer itself it a bit tricky. If you click on one of the control's panels, you select the panel and not the main control. You can select the control in any of these ways:
Use the control dropdown in the Properties window.
Click between the two panels.
Click and drag on the form so the drag touches the control.
53 Error in Text
The names used by the controls should read:

62 Error in Text
In the Try It section:

Currently reads: txtContents

Should read: contentsTextBox
63 Error in Text
Step 2 in the middle of the pages explains how to use copy and paste to copy the main menu's Format menu structure into a context menu. Some readers have found that Visual Studio did not let them copy multiple menu items at the same time, although it did let them copy items one at a time.
198 Error in Code
The code that creates a two-dimensional array currently reads:

int[,] values = new int[5, 7];

It should read:

int[,] values = new int[5, 8];

Note that the array shown in Figure 16-3 would be declared by using the following code:

int[,] values = new int[4, 8];
Printer-Ready Version   Share This
With you wherever you go: pdf + ePub + kindle -- DRM-free