Results 1 to 4 of 4

Thread: Changing the saved info in a Text File

Threaded View

  1. #1

    Thread Starter
    Member
    Join Date
    Oct 2007
    Posts
    39

    Exclamation Changing the saved info in a Text File

    Let's say for example, some info's been saved using this code:

    Open "C:\Textfile.txt" For Append As #3
    Write #3, Text1, Text2, Combo1.text, List1.text
    Close #3

    and the text file is something like:
    Code:
    "James", "16", "Green", "1990"
    "Bob", "20", "Red", "1980"
    How can change an specific info in the text file? (For example, the user enters "Bob" as his name in my program and changes "Red" to something else in a combobox. So i need the computer to find "Bob" in the text file and change "Red" to something the user enters in my program.)

    If any more info is required, tell me and i will add.

    Asap & thnk you
    Last edited by incognito_301; Apr 17th, 2008 at 07:20 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