File MetaData

  • Thread starter Thread starter ESPN Lover
  • Start date Start date
E

ESPN Lover

In Windows OS'es you can right-click properties on a file from the file
explorer and view various info (meta data) about the file on the Summary
tab. Meta Data includes things like Title, Subject, Author, Comments, etc.
How do I access (get/set) this info programmatically?
 
In Windows OS'es you can right-click properties on a file from the file
explorer and view various info (meta data) about the file on the Summary
tab. Meta Data includes things like Title, Subject, Author, Comments,
etc.
How do I access (get/set) this info programmatically?

You need a custom wrapper around the OLE Structured
Storage-COM-Interfaces. The VB.NET MVP Eduardo A. Morcillo has already done
this. You can download his library here:

http://www.mvps.org/emorcillo/dotnet/grl/

The library itself is written in VB.NET, but this doesn't matter of course,
as long as it is .NET. Eduardo provides a powerful example.

Have a look at this post as well:
http://groups.google.de/[email protected]

and this post (in german, just look at the code)
http://groups.google.de/[email protected]

Cheers

Arne Janning
 
Arne, thanks for the response. Do you know which .dll need to be wrapped?
 
Arne, thanks for the response. Do you know which .dll need to be wrapped?

Eduardo has build a custom wrapper around the COM-Interfaces IStorage,
IStream, etc. which are implemented in ole32.dll.

Cheers

Arne Janning
 
Thank you Arne!


Arne Janning said:
wrapped?

Eduardo has build a custom wrapper around the COM-Interfaces IStorage,
IStream, etc. which are implemented in ole32.dll.

Cheers

Arne Janning
 

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