By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,979 Members | 943 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,979 IT Pros & Developers. It's quick & easy.

Getting and changing file Summary information

P: n/a
Hi,

I am trying to find a way to get and change file summary information. I
tried using FileInfo class, but it doesn't give me information such as
"Author,Title,Rating" etc. Is there a way to get and change these information
using .NET libraries?

Sample would be a great help...

Thanks
Hiten
Jun 3 '06 #1
Share this Question
Share on Google+
4 Replies


P: n/a
Hello Hiten,

It calls "Structured Storage" -IPropertySetStorage interface with StgCreateStorageEx/StgOpenStorageEx
methods.
It's WinAPI methods, and you need to use interop for this - see www.pinvoke.net

Besides, see there http://support.microsoft.com/default...b;en-us;224351

H> I am trying to find a way to get and change file summary information.
H> I tried using FileInfo class, but it doesn't give me information such
H> as "Author,Title,Rating" etc. Is there a way to get and change these
H> information using .NET libraries?
H>
H> Sample would be a great help...

---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
Jun 3 '06 #2

P: n/a
Thanks Michael,

I tried the URL u provided about DsoFile from microsoft, the only thing
is... I am getting Access Denied error when i tries to change a property of
..mp3 file, however, it works on microsoft documents such as excel, visio
document etc. Do you think the DsoFile library is for microsoft documents
only?

thanks,
Hiten

"Michael Nemtsev" wrote:
Hello Hiten,

It calls "Structured Storage" -IPropertySetStorage interface with StgCreateStorageEx/StgOpenStorageEx
methods.
It's WinAPI methods, and you need to use interop for this - see www.pinvoke.net

Besides, see there http://support.microsoft.com/default...b;en-us;224351

H> I am trying to find a way to get and change file summary information.
H> I tried using FileInfo class, but it doesn't give me information such
H> as "Author,Title,Rating" etc. Is there a way to get and change these
H> information using .NET libraries?
H>
H> Sample would be a great help...

---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche

Jun 5 '06 #3

P: n/a
Hello Hiten,

Seems so :)
For mp3 tags see samples there http://www.codeproject.com/info/sear...&ed=5+Jun+2006

H> I tried the URL u provided about DsoFile from microsoft, the only
H> thing is... I am getting Access Denied error when i tries to change a
H> property of .mp3 file, however, it works on microsoft documents such
H> as excel, visio document etc. Do you think the DsoFile library is for
H> microsoft documents only?
H>
H> thanks,
H> Hiten
H> "Michael Nemtsev" wrote:
H>
Hello Hiten,

It calls "Structured Storage" -IPropertySetStorage interface with
StgCreateStorageEx/StgOpenStorageEx

methods.

It's WinAPI methods, and you need to use interop for this - see
www.pinvoke.net

Besides, see there
http://support.microsoft.com/default...b;en-us;224351

H> I am trying to find a way to get and change file summary
information.
H> I tried using FileInfo class, but it doesn't give me information
such
H> as "Author,Title,Rating" etc. Is there a way to get and change
these
H> information using .NET libraries?
H>
H> Sample would be a great help...
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour
"At times one remains faithful to a cause only because its opponents
do not cease to be insipid." (c) Friedrich Nietzsche

---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
Jun 5 '06 #4

P: n/a
Thanks Michael,

This link did helped me getting my work done!!

Thanks,
Hiten
"Michael Nemtsev" wrote:
Hello Hiten,

Seems so :)
For mp3 tags see samples there http://www.codeproject.com/info/sear...&ed=5+Jun+2006

H> I tried the URL u provided about DsoFile from microsoft, the only
H> thing is... I am getting Access Denied error when i tries to change a
H> property of .mp3 file, however, it works on microsoft documents such
H> as excel, visio document etc. Do you think the DsoFile library is for
H> microsoft documents only?
H>
H> thanks,
H> Hiten
H> "Michael Nemtsev" wrote:
H>
Hello Hiten,

It calls "Structured Storage" -IPropertySetStorage interface with
StgCreateStorageEx/StgOpenStorageEx

methods.

It's WinAPI methods, and you need to use interop for this - see
www.pinvoke.net

Besides, see there
http://support.microsoft.com/default...b;en-us;224351

H> I am trying to find a way to get and change file summary
information.
H> I tried using FileInfo class, but it doesn't give me information
such
H> as "Author,Title,Rating" etc. Is there a way to get and change
these
H> information using .NET libraries?
H>
H> Sample would be a great help...
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour
"At times one remains faithful to a cause only because its opponents
do not cease to be insipid." (c) Friedrich Nietzsche

---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche

Jun 8 '06 #5

This discussion thread is closed

Replies have been disabled for this discussion.