Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / September 2005

Tip: Looking for answers? Try searching our database.

Read Image (JPG) Windows Explorer File Properties

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jose Oliver - 28 Sep 2005 22:40 GMT
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
Raj Chudasama - 28 Sep 2005 23:34 GMT
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

> Hi,
>
[quoted text clipped - 5 lines]
>
> - jose
Jose Oliver - 30 Sep 2005 15:12 GMT
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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.