Can I attach a hidden blob to a Word document

  • Thread starter Thread starter Alex
  • Start date Start date
A

Alex

Hello,

Is it possible to attach a large amount of binary data (hundreds of KB to a few MB) to a Word document that will not be visible when the document is opened in Word but can be accessed using an external application?

I tried creating additional storages and streams inside the compound document but Word removes them when the document is opened in Word and then saved.

Thanks,
Alex.
 
You can attach document variables which can be arrays. You can only access
these through the Word interface, though; that is, through vba.
--
Charles Kenyon

Word New User FAQ & Web Directory: http://addbalance.com/word

Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide


--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.

Hello,

Is it possible to attach a large amount of binary data (hundreds of KB to a
few MB) to a Word document that will not be visible when the document is
opened in Word but can be accessed using an external application?

I tried creating additional storages and streams inside the compound
document but Word removes them when the document is opened in Word and then
saved.

Thanks,
Alex.
 
Hello Charles,

Charles Kenyon said:
You can attach document variables which can be arrays. You can only access
these through the Word interface, though; that is, through vba.

Unfortunately, Word document variables are (a) strings, and (b) limited to about 64KB.

I need to store binary data an order of magnitude larger.
UUENCODing is not feasible.
 

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

Back
Top