How to programmatically read/edit File Properties?

  • Thread starter Thread starter roshan
  • Start date Start date
R

roshan

Using the File Explorer, I can right-click on a word/pdf
document and view/edit its properties
like "Author", "Comments" etc. How do I programmatically
read/update those properties in either win32 or .net
framework?

Thanks in advance,
Roshan
 
Hi,

Using the COM API you can use the IPropertyStorage and IPropertySetStorage
interfaces to access the properties of a structured storage, I am not aware
of any .NET classes/methods to access this information.

The KB article Q186898 might ge a good starting point.

Hope this helps

Chris Taylor
 

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