DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 6 of 6
  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

Bookmarks

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


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links