I
Ian Oldbury
I'm having a problem reading from a flat file, in the file "£" and "»" exist
however when i view the contents of the variable LineContents these
characters don't exist.
Has anyone got any suggestions????
Dim LineContents as string
Dim fs As FileStream
Dim sr As StreamReader
fs = New FileStream(fp, FileMode.Open, FileAccess.Read, FileShare.Read)
sr = New StreamReader(fs)
LineContents = Convert.ToString(sr.ReadLine)
however when i view the contents of the variable LineContents these
characters don't exist.
Has anyone got any suggestions????
Dim LineContents as string
Dim fs As FileStream
Dim sr As StreamReader
fs = New FileStream(fp, FileMode.Open, FileAccess.Read, FileShare.Read)
sr = New StreamReader(fs)
LineContents = Convert.ToString(sr.ReadLine)