Problem with example in chapter 12 (pg 410)
[FONT='Times New Roman','serif']Hi Folks - I'm working on the "Favorites Viewer" example in Chapter 12 on page 410 and can't get the example to run. The example code lists this line...
'split the lines of data in the file
strLines = strData.Split(New String() {ControlChars.CrLf}, _
StringSplitOptions.RemoveEmptyEntries)
... I'm getting an Error in the error list...
"Value of type '1-dimensional array of String' cannot be converted to 'String'."
Please help.
Thanks.
Pete Egan[/FONT]
|