Results 1 to 2 of 2

Thread: collections

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2000
    Posts
    2
    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

  2. #2
    New Member
    Join Date
    Mar 2000
    Posts
    14
    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
  •  



Click Here to Expand Forum to Full Width