473,320 Members | 1,829 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

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 8623
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Tyrone | last post by:
How do you go about reading the extended properties of a file. (jpg)
4
by: Markus Brenner | last post by:
Hi there! Hope anybody can help. I want to at least read (maybe write) the extended file properties of office documents like winword, excel, .... I've tried two ways till now, one by opening...
1
by: Corey Ellsworth | last post by:
Does anybody know how to read/write extended file properties such as comments, keywords, author, etc. in VB.NET? I can't find anything anywhere. It may be because I don't know where to start or...
0
by: archana | last post by:
Hi all, I wrote one application to read excel files data into datatable. To get data of excel file into datatable i used oledbconnection. In connectonstring i set extended properties as excel...
0
by: Tina | last post by:
need to obtain the extended file properties, such as Owner, Title, etc, for a file in a .net program. I have looked through the FileInfo class and I cannot see any methods or properties that will...
1
by: Tina | last post by:
I need to obtain the extended file properties, such as Owner, Title, etc, for a file in a .net program. I have looked through the FileInfo class and I cannot see any methods or properties that...
0
by: TN | last post by:
I created a dataset in code (with extended properties on the table and the columns) and I saved the schema (the properties were there). Now I am trying to take that .xsd file and generate a...
0
by: jcvoon | last post by:
Hi: How to notify extended properties provider when the component is removed ? so that i can deleted the entry for that component from extended properties holder (the collection use to hold all...
3
by: Ben | last post by:
Hi! I have a user on my database that has only "select" access (db_datareader). Problem is, I also want him to also be able to create/update extended properties on tables or views, but without...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.