Results 1 to 8 of 8

Thread: [Resolved]

Threaded View

  1. #1

    Thread Starter
    Junior Member JustinMs66's Avatar
    Join Date
    Jun 2006
    Location
    CA, USA, EARTH
    Posts
    21

    Arrow [Resolved]

    NEW QUESTION:
    i want to have 1 text file, and that text file will have like:
    amy
    bob
    joe
    suzie

    and i want each line to be put into a variable. like we did before, but not JUST for the first line.

    but... because i won't know in advance how many lines there will be (long story)... i need VB to continue puttin lines into variables until it gets to the end. OR it just counts how many lines their are or something.

    OLD question:
    i need to read the first line of a text file, and then IF that line is different from the first line of another text file, then a message box will appear.
    and like i used the comparing code from here:
    My File Compare Code
    and that worked. so i guess i just need to know how to ONLY read the first line.
    Last edited by JustinMs66; Sep 19th, 2006 at 11:56 PM.

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