Benny
"Benny Ng" <br*******@hotmail.com> wrote in message
news:41**********@news.tm.net.my... Hi,
I have written a program in vb6 that can send and receive emails but how
can i store them?
Benny
"Benny Ng" <br*******@hotmail.com> wrote in message
news:41**********@news.tm.net.my... How to do it?
Which would you like to know - how to store files, or how to store to a
database?
Here's a tutorial on file handling:
http://www.juicystudio.com/tutorial/vb/files.asp
Here's a primer on database access (I would recommend ADO (ActiveX Data
Objects) for database connectivity):
http://www.officecomputertraining.co...ges/page37.asp
Personally I would go for the file approach initially as it is simpler
(databases add a layer of complexity). However, if you were going to use
this solution for anything other than personal use, databases are probably
the way to go, and eventually you will prob. want to use a database anyway.
If you come across a specific problem, rather than a general "How to do it?"
I'll be happy to help more ;-)
Rowland.