Re: internal format of a word document
- From: "Jay Freedman" <jay.freedman@xxxxxxxxxxx>
- Date: Wed, 18 May 2005 09:34:46 -0400
The format isn't really deep, dark, or secret, although I won't argue about
the shameful part. :-) The documentation is on MSDN, starting at
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/stg/stg/structured_storage_start_page.asp.
There are other resources on the Internet; search Google for "OLE structured
storage".
If you want to manipulate a Word file without involving Word, you have a LOT
to learn about OLE, COM, and other three-letter acronyms. I figure a year of
study ought to get you started. Also be aware that most of the available
sample code is in C++, not VB6.
--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Margaret Aldis wrote:
> The internal format is a deep, dark (and probably shameful) secret ;-)
>
> You can't directly manipulate the file format - certainly any change
> to number of characters etc. will render the file completely
> unreadable (because the pointers Word uses for all its formatting
> etc. won't point to the right place any more.) Instead, you need to
> use VBA to manipulate the document object structure. There are
> several Word VBA newsgroups where you can get more help on specifics.
>
>
> "yarders" <yarders@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:F14CCE65-FD8B-477F-9A57-98C1B9A2EFD7@xxxxxxxxxxxxxxxx
>> How do you find out the internal format? The reason for this is that
>> I'm trying to manipulate a word document from VB6 code and after it's
>> manipulated
>> the size of the file could change.
>>
>> After saving the changes can't open the file, a message box is shown
>> stating
>> the name or path are not valid. I believe it's because the file size
>> has changed.
>>
>> Any help with this will be greatly apprieciated, thanks.
.
- References:
- internal format of a word document
- From: yarders
- Re: internal format of a word document
- From: Margaret Aldis
- internal format of a word document
- Prev by Date: Page Orientation and Headers
- Next by Date: Font Installation
- Previous by thread: Re: internal format of a word document
- Next by thread: slow response on keystroke
- Index(es):
Relevant Pages
|