Read Image (JPG) Windows Explorer File Properties

G

Guest

Hi,

I am looking for a way to programatically read the image file properties
normally available thru windows explorer (Right click -> Properties).
Specifically I am looking for the Title (Caption), Comments and Keywords. Any
pointers would be greatly appreciated.

- jose
 
R

Raj Chudasama

try these?

Retrieves attributes for a specified file or directory. Any of the
following:


System.IO.Directory.GetAttributes
System.IO.File.GetAttributes
System.IO.FileSystemInfo.Attributes GetFileAttributesEx
 
J

Jose Oliver

Thanks Raj, but these return the file attributes (filename, readonly
status...).

I found an indirect way of getting this data using the MSN Toolbar. The
Windows Desktop API provides ways to programmatically access the file
metadata, such as the title, author, keywords, which is what I am
looking for. This also works for emails, and other filetypes.

http://addins.msn.com/devguide.aspx#WindowsDesktopSearchApi
 

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

Top