Programming Visual Basic .NET, 2nd Edition by Jesse Liberty The unconfirmed error reports are from readers. They have not yet been approved or disproved by the author or editor and represent solely the opinion of the reader. Here's a key to the markup: [page-number]: serious technical mistake {page-number}: minor technical mistake : important language/formatting problem (page-number): language change or minor formatting problem ?page-number?: reader question or request for clarification This page was updated September 29, 2004. UNCONFIRMED errors and comments from readers: {176} Output: The Employee array...; When the code of Example 9-2 Console.WriteLine(ControlChar.Lf + "The Employee array...") For i = 0 To empArray.Length - 1 Console.WriteLine(emp(i).ToString()) Next i The For loop will execute 4 times producing the output The Employee array... 5 6 7 8 <- missing element in book {178} Output: The Employee array...; When the code of Example 9-3 Console.WriteLine(ControlChar.Lf + "The Employee array...") Dim e As Employee For Each e In empArray Console.WriteLine(e) Next The For Each loop will execute 4 times producing the output The Employee array... 5 6 7 8 <- missing element in book (215) Example 9-14; When assigning the collection item to emp, I believe you need to convert the collection item to type Employee, i.e. emp = empCollection2.Item("John Adams") becomes emp = CType(empCollection2.Item("John Adams"), Employee) and emp = empCollection2.Item(1) becomes emp = CType(empCollection2.Item(1), Employee) This prevents the following error "Option Strict On disallows implicit conversions from 'System.Object'to 'CollectionDemo.Employee'." (225) 2nd paragraph from the last; The output followed the statement: "This copies the four values..." did miss the value of the last element of the stack inStack, which is the value of zero(0). {250} next to last paragraph; Dim string1 As String = "04:03:27 127.0.0.0 LibertyAssociates.com " + "04:03:28 127.0.0.0 foo.com " + "04:03:29 127.0.0.0 bar.com " ; will not work in VB; looks like c# code. Needs to be reworked to: Dim string1 As String = "04:03:27 127.0.0.0 LibertyAssociates.com " + _ "04:03:28 127.0.0.0 foo.com " + _ "04:03:29 127.0.0.0 bar.com " or Dim string1 As String = "04:03:27 127.0.0.0 LibertyAssociates.com " & _ "04:03:28 127.0.0.0 foo.com " & _ "04:03:29 127.0.0.0 bar.com " {322} Third line from the bottom; I believe that the subroutine name is missing an underscore character i.e. instead of btnCancelClick it should read btnCancel_Click. This error seems to recurr throughout this particular example (13-3) for the button click events. {453} Example 18-2; Option Strict on does not permit implicit conversion of 1-dimensional array of type Object to a 1-dimensional array of type Attribute for the following code snippet: Dim attributes() As Attribute attributes = inf.GetCustomAttributes(GetType(BugFixAttribute),False) '----------------------- Code snippet should be: Dim attributes() as Object attributes = _ CType(inf.GetCustomAttributes(GetType(BugFixAttribute), False), Attribute())