Read Metada information

G

Guest

Hi Everybody

In the Micorosoft windows Envirnment any operating systems you can
right-click on a specific file and go to properties
and you can view the various information (meta data) like Title, Subject,
Author, Comments etc,

now my problem is i need to get those meta data information using vb.net ?


File can be any type which windows operating system can open.
Example file extention can can be : .pdf,
..zip,
..dxf,
..shw,
..qpw,
..wpd,
..htm,
..xls,
..doc,
..mp3


Actually using "dsofile.dll" we can get some information only for Micorsoft
office file metat data ... but the problem is i have got lots of file type
which i need to get meta data information as i mentioend above...


any idea about this topic

regards
suis
 
R

rowe_newsgroups

Hi Everybody

In the Micorosoft windows Envirnment any operating systems you can
right-click on a specific file and go to properties
and you can view the various information (meta data) like Title, Subject,
Author, Comments etc,

now my problem is i need to get those meta data information using vb.net ?

File can be any type which windows operating system can open.
Example file extention can can be : .pdf,
.zip,
.dxf,
.shw,
.qpw,
.wpd,
.htm,
.xls,
.doc,
.mp3

Actually using "dsofile.dll" we can get some information only for Micorsoft
office file metat data ... but the problem is i have got lots of file type
which i need to get meta data information as i mentioend above...

any idea about this topic

regards
suis

I'm not sure as I haven't used it in a while, but I thought the
FileInfo object could be used to retrieve this type of information. I
could be wrong though.

Thanks,

Seth Rowe
 
G

Guest

Hi Seth,

thanks very much for u r try, but unfortunetly we cant get more information
using
IO.FileInfo class.. it just basic information ....its not enough to continue
my project.
like i need the meta data information like Title, Subject,Author, Comments .
but if i use IO.FileInfo class its not showing us more information ......
so we need to find out any other way of doing this....

any comments ?
suis
 
L

Lloyd Sheen

mcimaging said:
Hi Seth,

thanks very much for u r try, but unfortunetly we cant get more
information
using
IO.FileInfo class.. it just basic information ....its not enough to
continue
my project.
like i need the meta data information like Title, Subject,Author, Comments
.
but if i use IO.FileInfo class its not showing us more information ......
so we need to find out any other way of doing this....

any comments ?
suis

There are DLL's which implement certain interfaces and are registered with
the OS to provide the property values for different types of files. There
are property handlers and propertysheet handlers.

I had a book on shell programming but cannot find it now. Getting this info
is a large subject and the general method would be to emulate the OS and use
the interfaces built into these DLLs. All I can say is good luck.

LS
 
A

Andrew Morton

mcimaging said:
In the Micorosoft windows Envirnment any operating systems you can
right-click on a specific file and go to properties
and you can view the various information (meta data) like Title,
Subject, Author, Comments etc,

now my problem is i need to get those meta data information using
vb.net ?

Google for
ntfs file metadata

E.g. http://www.thinkdigit.com/forum/showthread.php?t=30292 (C#, but I think
it has all the info you need)

Andrew
 

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