Read and Write a text file


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 6 of 6

Thread: Read and Write a text file

  1. #1
    Join Date
    Aug 2004
    Posts
    43,023

    Read and Write a text file

    [Originally posted by bay]

    Can anyone help me how can I read a text file and then modify it and save it back?
    eg. my file is "vbcode.txt"
    content of vbcode.txt
    ------------------------
    How are you?
    I am fine
    hehe
    ------------------------
    I want to ask how can I open "vbcode.txt"
    then modify "I am fine" to "Fine, thanks"
    then save it back?

    Thanks for your help!

  2. #2
    Join Date
    Aug 2004
    Posts
    43,023

    Re:Read and Write a text file

    [Originally posted by Angchuk]

    check ur mail
    if u don't have winzip email me

  3. #3
    Join Date
    Aug 2004
    Posts
    43,023

    Re:Re:Read and Write a text file

    [Originally posted by bay]

    Seem I cannot receive your email.

  4. #4
    Join Date
    Aug 2004
    Posts
    43,023

    Re:Re:Read and Write a text file

    [Originally posted by bay]

    And I cannot find your email address.
    Can you help me?

  5. #5
    Join Date
    Aug 2004
    Posts
    43,023

    Re:Re:Re:Read and Write a text file

    [Originally posted by Angchuk]

    It seems ur email is not

    bay@itok.com
    give me an another email

  6. #6
    Join Date
    Aug 2004
    Posts
    43,023

    Re:Re:Re:Read and Write a text file

    [Originally posted by Angchuk]

    Sorry i skipped c in ur email address

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center