Results 1 to 21 of 21

Thread:  Character in a text file

Threaded View

  1. #16
    PowerPoster
    Join Date
    Aug 2005
    Location
    College Station, TX
    Posts
    4,521

    Re:  Character in a text file

    Well it does seem to be a ASCII "2" value.... but It didn't have any problems reading in the line... displayed all the text...
    VB Code:
    1. Dim myreader As New IO.StreamReader("c:\AACD1.txt")
    2.         While myreader.Peek <> -1
    3.             MessageBox.Show(myreader.ReadLine) 'displayed the full line, with the character
    4.         End While
    5.         MyReader.Close()
    Last edited by gigemboy; Feb 7th, 2006 at 05:49 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width