469,898 Members | 2,305 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,898 developers. It's quick & easy.

Extended File Properties

Hello,
I'd like to read the extended file properties using C#. Those are e.g.
author, subject, ... of a word file or bit rate, artist, duration of a mp3
file. I already tried to use the storage properties provided by OLE, but
those only work for Office document. The explorer displays this information
but I have no clue to access from C#. Hints and Help are appreciated.
Regards,
-- David
Nov 16 '05 #1
4 8385
http://tinyurl.com/6sd6s

Sounds like Nicholas Paldino's the guy who can help with this.
Good luck.
"David Farruggio" <da*************@ch.abb.com> wrote in message
news:41*********************@news.sunrise.ch...
Hello,
I'd like to read the extended file properties using C#. Those are e.g.
author, subject, ... of a word file or bit rate, artist, duration of a mp3
file. I already tried to use the storage properties provided by OLE, but
those only work for Office document. The explorer displays this
information
but I have no clue to access from C#. Hints and Help are appreciated.
Regards,
-- David

Nov 16 '05 #2
I already looked in the IProperties as proposed by Nicholas Paldino.
Unfortunatly this works only for MS Office documents (to be more precise,
for documents following OLE). E.g. it doesn't work for mp3 files, which have
that information to as can be seen in the explorer in the detail view. Is
there a possibility to access the information from C#?
Thanks for your help
-- David

"Dan Bass" <danielbass [at] postmaster [dot] co [dot] uk> wrote in message
news:uE**************@TK2MSFTNGP11.phx.gbl...
http://tinyurl.com/6sd6s

Sounds like Nicholas Paldino's the guy who can help with this.
Good luck.
"David Farruggio" <da*************@ch.abb.com> wrote in message
news:41*********************@news.sunrise.ch...
Hello,
I'd like to read the extended file properties using C#. Those are e.g.
author, subject, ... of a word file or bit rate, artist, duration of a mp3 file. I already tried to use the storage properties provided by OLE, but
those only work for Office document. The explorer displays this
information
but I have no clue to access from C#. Hints and Help are appreciated.
Regards,
-- David


Nov 16 '05 #3
What about this?

http://www.c-sharpcorner.com/Tools/MP3TagEditorB2PL.asp
"David Farruggio" <da*************@ch.abb.com> wrote in message
news:41**********************@news.sunrise.ch...
I already looked in the IProperties as proposed by Nicholas Paldino.
Unfortunatly this works only for MS Office documents (to be more precise,
for documents following OLE). E.g. it doesn't work for mp3 files, which
have
that information to as can be seen in the explorer in the detail view. Is
there a possibility to access the information from C#?
Thanks for your help
-- David

"Dan Bass" <danielbass [at] postmaster [dot] co [dot] uk> wrote in message
news:uE**************@TK2MSFTNGP11.phx.gbl...
http://tinyurl.com/6sd6s

Sounds like Nicholas Paldino's the guy who can help with this.
Good luck.
"David Farruggio" <da*************@ch.abb.com> wrote in message
news:41*********************@news.sunrise.ch...
> Hello,
> I'd like to read the extended file properties using C#. Those are e.g.
> author, subject, ... of a word file or bit rate, artist, duration of a mp3 > file. I already tried to use the storage properties provided by OLE,
> but
> those only work for Office document. The explorer displays this
> information
> but I have no clue to access from C#. Hints and Help are appreciated.
> Regards,
> -- David
>
>



Nov 16 '05 #4
Hi,
This is getting closer. Anyway it uses the file structure of the MP3 file so
I can't use for a more general solution to display and edit the properties
if any file I know or I don't such as the Windows Explorer does. I wonder if
the properties are stored and can be accessed in a more structured way.
Regards
-- David

"Dan Bass" <danielbass [at] postmaster [dot] co [dot] uk> wrote in message
news:eN**************@TK2MSFTNGP09.phx.gbl...
What about this?

http://www.c-sharpcorner.com/Tools/MP3TagEditorB2PL.asp
"David Farruggio" <da*************@ch.abb.com> wrote in message
news:41**********************@news.sunrise.ch...
I already looked in the IProperties as proposed by Nicholas Paldino.
Unfortunatly this works only for MS Office documents (to be more precise, for documents following OLE). E.g. it doesn't work for mp3 files, which
have
that information to as can be seen in the explorer in the detail view. Is there a possibility to access the information from C#?
Thanks for your help
-- David

"Dan Bass" <danielbass [at] postmaster [dot] co [dot] uk> wrote in message news:uE**************@TK2MSFTNGP11.phx.gbl...
http://tinyurl.com/6sd6s

Sounds like Nicholas Paldino's the guy who can help with this.
Good luck.
"David Farruggio" <da*************@ch.abb.com> wrote in message
news:41*********************@news.sunrise.ch...
> Hello,
> I'd like to read the extended file properties using C#. Those are e.g. > author, subject, ... of a word file or bit rate, artist, duration of
a mp3
> file. I already tried to use the storage properties provided by OLE,
> but
> those only work for Office document. The explorer displays this
> information
> but I have no clue to access from C#. Hints and Help are appreciated.
> Regards,
> -- David
>
>



Nov 16 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Tyrone | last post: by
4 posts views Thread by Markus Brenner | last post: by
1 post views Thread by Corey Ellsworth | last post: by
reply views Thread by archana | last post: by
reply views Thread by Tina | last post: by
1 post views Thread by Tina | last post: by
reply views Thread by Salome Sato | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.