|
-
Apr 9th, 2000, 11:06 PM
#1
Thread Starter
New Member
I have a collection made up of two different classes. I can loop through the collection writing all the information out to a text file for each item in the collection but how can I read the information back off the text file and back into a new collection??
If there is a better way of saving the infromation I am all ears.
Higgy
-
Apr 9th, 2000, 11:32 PM
#2
New Member
depending on how long you want to hold these information?
1. save to a database for long term
2. save to an INI file or text file
use API function GetPrivateProfileString and WritePrivateProfileString to read and write to INI file
anyway if you saved these info to a text file, then you just open up the text file for input then read them in again.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|