Hi,
I have defined some custom property field (using File-
>Property-> custom tab)in word 2000 so that whenever i
create a document using it, i get all the property fields
in the document.
Now thru a c# program, I want to get all the custom
defined property of that document, add some of them in the
document and update them.
Help to achieve the same.
Any help is greatly appreciated.
Sandeep
Jonathan West - 03 Feb 2004 12:37 GMT
Hi Sandeep
The document properties can be read and updated without having to open the
document in Word.
The following article includes a link to some VBA code which reads document
properties, and includes a link to the location on the Microsoft website
where you can download the activeX DLL which can be used for the purpose.
Hopefully you should be able to adapt the relevant code to C#.
Getting access to the Document Properties of a Word file
http://word.mvps.org/FAQs/MacrosVBA/DSOFile.htm

Signature
Regards
Jonathan West - Word MVP
http://www.multilinker.com
Please reply to the newsgroup
> Hi,
> I have defined some custom property field (using File-
[quoted text clipped - 9 lines]
>
> Sandeep