Results 1 to 3 of 3

Thread: Read txt file[Resolved]

Threaded View

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    May 2004
    Posts
    566

    Resolved Read txt file[Resolved]

    VB Code:
    1. Open "C:\myfile.txt" For Append As #1
    2.      Print #1, "blah"
    3. Close #1
    how can you read to check if "blah" already exists in the file? and if it does then don't write "blah" to it again.
    Last edited by emyztik; Sep 30th, 2005 at 11:46 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