Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

streamreader ignoring · (ascii 183)

Status
Not open for further replies.

z0r

Technical User
Mar 12, 2007
6
CA
Hello.
I'm in the early stages of learning VB.
What I am doing is reading lines from a file.
There is much information on the particular line I am having trouble with. I need to use (ascii 183) as a delimiter when splitting the line. The problem is when the line is read in it seems to remove the symbol. When use a break point I can see the contents of the variable and it contains the string from the file sans (ascii 183).

Any suggestions?




vb 2005.
 
Dim dbReader As New StreamReader("d:\ll.txt")
dLine = dbReader.Read() ' <------- if I put a breakpoint here I can see that there is no · in the string
do
-----
-----
-----
dLine = dbReader.ReadLine()

Loop Until dLine Is Nothing

dbReader.Close()




glad you think its an easy fix, hope you're right :)
 
sorry. I thought vb 2005 was pre-.net making it closer to vb6. shows what I know.
 
Yeah, Microsoft confused things by changing labeling. There is no VB 2005, it's really VB.Net 2005 but they don't want to call it that anymore.

This causes no end of confusion for all of us, so don't feel bad.
 
thats a relief, I was half-expecting a kick/ban. :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top