Results 1 to 4 of 4

Thread: Storing Collections?

  1. #1

    Thread Starter
    Addicted Member Dim A's Avatar
    Join Date
    Jul 2000
    Posts
    201

    Question

    What's a good way to store a collection of class information?

    I know C has a memory map, that you can just out your memory to disk, and then pick up where you left off. Does VB have anything like this?

    I have a collection of up to 100 items that contain roughly 100-200bytes of information, that I need to somehow save in a selectable format. That way I can select which one to load back in to memory via an open/save dialog API.

    Anyone have any ideas on a good format?

  2. #2

  3. #3
    Guest
    another solution could be to store collection data in a text file. it is relatively easy to convert almost any data into a string by using UDTs with LSet. but this solution requires a bit of coding.

    good luck

    Sascha

  4. #4
    Hyperactive Member
    Join Date
    Jun 2000
    Location
    Auckland, NZ
    Posts
    411

    XML Property Bag

    I think this will be just the thing for you

    try http://vbaccelerator.com/codelib/xml/xmlpbag.htm

    I am about to test it out myself.

    Regards
    Paul Lewis

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