Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
Alex
 
Posts: n/a
Default Can I attach a hidden blob to a Word document

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.

--
Address email to user "response" at domain "alexoren" with suffix "com"

  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Charles Kenyon
 
Posts: n/a
Default Can I attach a hidden blob to a Word document

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

See also the MVP FAQ: http://word.mvps.org/FAQs/ which is awesome!
--------- --------- --------- --------- --------- ---------
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.

"Alex" wrote in message
...
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.

--
Address email to user "response" at domain "alexoren" with suffix "com"


  #3   Report Post  
Posted to microsoft.public.word.docmanagement
Alex
 
Posts: n/a
Default Can I attach a hidden blob to a Word document

Hello Charles,

Charles Kenyon wrote:
"Alex" wrote in message
...
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.


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.

Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Word 97 in Windows XP to maintain formatting Charlie''s Word VBA questions Microsoft Word Help 22 May 20th 23 08:51 PM
take yet another lesson from wordperfect "reveal codes" wordperfect is superior Microsoft Word Help 5 May 11th 09 07:58 PM
Word 2003 [email protected] Microsoft Word Help 39 April 19th 06 06:35 PM
how do i set up template in vbeditor without proggramming language ARRRGH New Users 4 October 1st 05 03:19 AM
Continuous breaks convert to next page breaks Jennifer Hunt Microsoft Word Help 2 December 30th 04 05:45 PM


All times are GMT +1. The time now is 07:57 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"