Results 1 to 2 of 2

Thread: [RESOLVED] Write to file, but not over info

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Oct 2006
    Location
    In the midst of corn, cotton, and beans
    Posts
    185

    Resolved [RESOLVED] Write to file, but not over info

    I can write to file, but it writes over what is already there. How do I keep teh data already in the file and just add to it?

  2. #2
    PowerPoster gavio's Avatar
    Join Date
    Feb 2006
    Location
    GMT+1
    Posts
    4,462

    Re: Write to file, but not over info

    Open it in Append mode. Here's what i'm talking about:
    VB Code:
    1. Open "c:\test.txt" For [B]Append[/B] As #1
    2.     Print #1, "Something new..."
    3. Close #1

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