Re: Object Serialisation
- From: "Jon Peltier" <jonxlmvpNO@xxxxxxxxxxxxxxxxxxx>
- Date: Sun, 29 Apr 2007 14:55:59 -0400
If I understand, what you need to save is the data the VBA routine needs to
recreate an object from its class. This may be as simple as a text file with
a list of property names and corresponding values, which are saved and
loaded by the object or the code controlling the object.
The code will have to be able to distinguish from creating a new object of
the class and recreating a previously defined instance of the class.
- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
http://PeltierTech.com
_______
"pinkfloydfan" <lloyd.greensite@xxxxxxxxxxxxxx> wrote in message
news:1177847680.880503.321360@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Timebird
I understand that serialization is the process whereby you store an
object on a hard drive in some readable format that it can be loaded
back in again should you so wish.
It would be very useful to me to know how to do this in VBA as I have
some pretty complicated objects that are somewhat memory intensive and
so would like to be able to store them permanently outside of RAM so I
don't have to keep re-creating them every time I open my application.
Thanks
Lloyd
.
- Follow-Ups:
- Re: Object Serialisation
- From: pinkfloydfan
- Re: Object Serialisation
- References:
- Object Serialisation
- From: pinkfloydfan
- Re: Object Serialisation
- From: pinkfloydfan
- Object Serialisation
- Prev by Date: RE: Automatic Filesave using Loginname
- Next by Date: Re: Creating intermediate date values - reformatted
- Previous by thread: Re: Object Serialisation
- Next by thread: Re: Object Serialisation
- Index(es):
Relevant Pages
|
Loading