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