Saving custom objects to documents as binary data

G

gappodi

Hello,

I am creating some objects and data structures in my automation code
while
working with Excel, Word & Outlook. I need to save the state of these
objects with the document so that these objects can be brought back in
memory when the
document is opened.

Is there a place holder in the Binary format of the Documents to save
such binary data?

Regds
Gap
 
C

Cindy M -WordMVP-

I am creating some objects and data structures in my automation code
while
working with Excel, Word & Outlook. I need to save the state of these
objects with the document so that these objects can be brought back in
memory when the
document is opened.

Is there a place holder in the Binary format of the Documents to save
such binary data?
Not really. Since you don't give more information on the kind of thing
you need to save, it's difficult to give you any suggestions about what
you might do.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question
or reply in the newsgroup and not by e-mail :)
 
G

Gap

I have a COM Addin and I want to dump some data that the Add-in holds
in Memory. It could be just an array of strings specific to the
document for instance.

So when and wherever the document is opened the Add-in can get these
strings for e.g. back into memory.

Hope that information helps.

Tks & Regds
Gap
 
C

Cindy M -WordMVP-

Hi Gap,
I have a COM Addin and I want to dump some data that the Add-in holds
in Memory. It could be just an array of strings specific to the
document for instance.

So when and wherever the document is opened the Add-in can get these
strings for e.g. back into memory.
Strings are absolutely no problem: write them to document VARIABLE
objects :)

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question
or reply in the newsgroup and not by e-mail :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top