Click here to Skip to main content
15,892,537 members

Comments by KevinBrady57 (Top 56 by date)

KevinBrady57 3-Sep-15 17:26pm View    
Yes, I will accept your answer. I meant to do that earlier. Sorry.
KevinBrady57 3-Sep-15 12:52pm View    
Sergey, Thanks for the response. I implemented the methodology you suggested and it works exactly as I need it. It is also much simpler and more straightforward.

I would like to know, however, why the "invoke" method does not work.
KevinBrady57 11-Feb-14 18:47pm View    
If I replaced the "^" character with a "‡", File.ReadAllLine does not recognize at and it cannot be split.
KevinBrady57 11-Feb-14 17:04pm View    
Now I understand the problem I am having more fully. Thank you Sergey.

The problem is not with the split command, but with reading the data from the file. I use the following code to read the entire data file: Dim ostr() As String = File.ReadAllLines(FullFileName). Each array element is one record, such as: 20001^1000^1^4850^E Speedway^^Tucson^1004^85712^^63270. In this case, the record fields are delimited by the "^" character. I have a method that will populate the correct fields by splitting this record based on the specified character. The mentioned vb.net function to read the entire data file does not "recognize" the delimiter character if it is greater than ascii 127. Is there a way to get the File.ReadAllLines(FullFileName) function to recognize extended ascii characters?
KevinBrady57 6-Jan-14 13:18pm View    
Never mind. I figured it out.