i need code for the function writing information into text file


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: i need code for the function writing information into text file

Hybrid View

  1. #1
    koonlee Guest

    i need code for the function writing information into text file


    i facing problems like this. assume the program was like an email compose
    interface. the "to","cc","bcc", and "subject" will be write into database
    and the area where we write the message will write to text file, save in
    .txt format.

    for database part, i can do it cause the record was there. but the text file
    i cannot save the things i write. it just appear empty and error occur.

    how to write at the same time in database and text file at the same time
    when user click save ?


  2. #2
    Faisal Guest

    Re: i need code for the function writing information into text file


    Hei..
    U can use file scripting object to write to files and u should have permissions
    to write to a directory..
    Faisal
    "koonlee" <nkl7877@hotmail.com> wrote:
    >
    >i facing problems like this. assume the program was like an email compose
    >interface. the "to","cc","bcc", and "subject" will be write into database
    >and the area where we write the message will write to text file, save in
    >.txt format.
    >
    >for database part, i can do it cause the record was there. but the text

    file
    >i cannot save the things i write. it just appear empty and error occur.
    >
    >how to write at the same time in database and text file at the same time
    >when user click save ?
    >



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