Hidden data in word/excel document

M

Martin

Hi,
I must hide some data in word document. The data is related to digital
signature and document encipherment and of course all changes should be
invisible for viewers.
I tried solving problem by using IStorage interface and writing my own
stream to file, everything seems to be ok until user presses save button.
Even there were no chages word flushes all my data (stream).
Same solution works perfect with excel.
Could you suggest any solution ?

regards,
Martin
 
C

Cindy M -WordMVP-

Hi Martin,

It's been a few days, and I haven't seen a response. I have no idea if what
you want to do is possible with Word (or the version of Word you're trying
to use). If I wanted to store information in a Word document that the user
can't see (without VBA), then I'd put it in document Variables (look up
Variables in the Word object model).
I must hide some data in word document. The data is related to digital
signature and document encipherment and of course all changes should be
invisible for viewers.
I tried solving problem by using IStorage interface and writing my own
stream to file, everything seems to be ok until user presses save button.
Even there were no chages word flushes all my data (stream).
Same solution works perfect with excel.
Could you suggest any solution ?

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