If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

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 ?

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 ?
>