Microsoft® Visual Basic® 2005 Step by Step

Errata for Microsoft® Visual Basic® 2005 Step by Step




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 104
2nd paragraph codeblock

Example in book shows this: OpenFileDialog1.Filter = "Bitmaps (*.bmp)|*.bmp" If OpenFileDialog1.ShowDialog() = DialogResult.OK Then PictureBox1.Image = System.Drawing.Image.FromFile _ (OpenFileDialog1.FileName) End If But this produced an error until I started retyping at which point Visual Studio expanded "DialogResult.OK" to "Windows.Forms.DialogResult.OK" which did not produce an error. So codeblock should be: OpenFileDialog1.Filter = "Bitmaps (*.bmp)|*.bmp" If OpenFileDialog1.ShowDialog() = Windows.Forms.DialogResult.OK Then PictureBox1.Image = System.Drawing.Image.FromFile _ (OpenFileDialog1.FileName) End If

Note from the Author or Editor:
I believe you here--the AutoType feature seems to have changed or we did not originally get that one right back in 2004/2005. But you should trust AutoType in this situation to get you the proper result!

a. stephens  Oct 26, 2010 
Printed
Page 291

Button1 referenced in place of Button3 in step 1 On page 291, the third sentence of step 1 reads: "Remember that you changed the Name property of this object from “Button1” to “btnMoveObjects” in an earlier exercise." It should read: "Remember that you changed the Name property of this object from “Button3” to “btnMoveObjects” in an earlier exercise."

Microsoft Press  May 06, 2010 
Printed
Page 347

Incorrect location specified for sample icon On page 347, the final cell in the first row reads: "“c:vbnet03sbschap15sun.ico”StretchImage" It should read: "“c:vbnet05sbschap15sun.ico”StretchImage"

Microsoft Press  Jul 13, 2010 
Printed
Page 429

Arrow does not appear to the right of the Instructor field in step 2 On page 429, under the "Use the Data Sources window to create database objects on a form", add the following note after Step 2: "If the arrow does not appear to the right of the Instructor field in the Data Sources window, make sure that the Form1.vb[Design] tab is active in the Designer window, and then click the Instructor field again."

Microsoft Press  May 06, 2010 
Printed
Page 460

InstructorsDataViewGrid should be InstructorsDataGridView On page 460, Step 1 contains an incorrect object name. Change: "1. Click the first data grid view object on the form (InstructorsDataViewGrid), and then highlight the Properties window." To: "1. Click the first data grid view object on the form (InstructorsDataGridView), and then highlight the Properties window." 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.The print number of the book is located on the copyright page in the form of a string of numbers. For example: "2 3 4 5 6 7 8 0 QWT 9 8 76 5 4". The first number in the string is the the print number. In this example, the print number is 2.

Microsoft Press  Jul 13, 2010