File properties

eric13

Active member
Joined
May 25, 2006
Messages
30
Programming Experience
3-5
When you right click on a file in windows and click properties it shows a dialog box. Is there any way to access and update the properties on the Summary tab, like the Title: and Subject: properties.
 
Not all files have those; its a file specific thing of e.g. a word document. Find the handler for the document and use it from your code (if it supports the editing of them via some API)
 
You can do this with .Net and the FileInfo class but you will need the following reference...

DSO OleDocument Properties Reader 2.0



To use...


VB.NET:
Dim dso As DSOFile.OleDocumentProperties(filepath inc. name, other flags..)

 
Debug.WriteLine(dso.SummaryProperties.Author)


You'll get the idea.
 
Back
Top