Home All Groups Group Topic Archive Search About

Accessing file properties

Author
9 Jan 2007 10:26 PM
JBK
I've been searching the file classes for a way to read and modify the file
properties you see when you right click a file, under the summary tab. It
has fields like title, subject, category and so on.

Thanks for any tips.

BK

Author
9 Jan 2007 11:21 PM
Jason Newell
JBK,

There is not a .NET API for this.  You'll have to use .NET Interop.

[Structured Storage API Reference]
http://msdn2.microsoft.com/en-us/library/aa380369.aspx

[VB.NET Example]
http://www.mvps.org/emorcillo/en/code/grl/storage.shtml

[C# Example] - Mine is application specific but you could still use it
for reference.  Specifically my StructuredStorage.cs.
http://www.jasonnewell.net/portal/Products/SolidEdgeFilePropertyAPI/tabid/83/Default.aspx

Good luck.

Jason Newell
www.jasonnewell.net

JBK wrote:
Show quote
> I've been searching the file classes for a way to read and modify the file
> properties you see when you right click a file, under the summary tab. It
> has fields like title, subject, category and so on.
>
> Thanks for any tips.
>
> BK
>
>

AddThis Social Bookmark Button