[RESOLVED] FilestreamReader Help
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: [RESOLVED] FilestreamReader Help

  1. #1
    Join Date
    Mar 2013

    [RESOLVED] FilestreamReader Help

    I am a complete novice to Visual basic. I am trying to read a text file and input the data into a array for further calculations. Any Ideas??

    filestreamReader = IO.File.OpenText("Cxxx.txt")

    Do While Not filestreamReader.EndOfStream

    lineIn = filestreamReader.ReadLine



  2. #2
    DataMiser is offline Super Moderator Power Poster
    Join Date
    Jul 2008

    Re: [RESOLVED] FilestreamReader Help

    Hard to say without more info, perhaps the readalllines method will do what you want. It basically reads the file into an array with each line in its own element. If you want to break it up some other way then need to know the file structure first.
    Always use [code][/code] tags when posting code.

Posting Permissions

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

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)