-
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?
-
There's no "memory map" function in VB, but one thing you could do is to store the values in a database.
-
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
-
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