Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Long Documents / February 2004

Tip: Looking for answers? Try searching our database.

How to add and update a document property of a document

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Sandeep Sharma - 03 Feb 2004 12:28 GMT
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
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.