TechTalkz.com Logo Ask the Experts!

Go Back   TechTalkz.com Technology & Computer Troubleshooting Forums > Tech Support Archives > Programing Languages > VB.NET

Read Metada information

VB.NET


Reply
 
LinkBack Thread Tools Display Modes
Old 17-09-2007, 03:02 PM   #1
mcimaging
Guest
 
Posts: n/a
Read Metada information

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

  Reply With Quote
Old 17-09-2007, 04:03 PM   #2
rowe_newsgroups
Guest
 
Posts: n/a
Re: Read Metada information

On Sep 17, 9:52 am, mcimaging <mcimag...@discussions.microsoft.com>
wrote:
> 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

  Reply With Quote
Old 17-09-2007, 05:04 PM   #3
mcimaging
Guest
 
Posts: n/a
Re: Read Metada information

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

"rowe_newsgroups" wrote:

> On Sep 17, 9:52 am, mcimaging <mcimag...@discussions.microsoft.com>
> wrote:
> > 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
>
>

  Reply With Quote
Old 18-09-2007, 06:04 PM   #4
Lloyd Sheen
Guest
 
Posts: n/a
Re: Read Metada information


"mcimaging" <mcimaging@discussions.microsoft.com> wrote in message
news:F7EB2946-9AB6-4FFF-B37E-333B11EF36BD@microsoft.com...
> 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
>
> "rowe_newsgroups" wrote:
>
>> On Sep 17, 9:52 am, mcimaging <mcimag...@discussions.microsoft.com>
>> wrote:
>> > 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
>>
>>


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

  Reply With Quote
Old 19-09-2007, 02:01 PM   #5
Andrew Morton
Guest
 
Posts: n/a
Re: Read Metada information

mcimaging wrote:
> 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


  Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Simple VB6 read and write converted to vb.net? How to Read CSV???? newsaboutgod@gmail.com VB.NET 5 05-09-2007 06:01 PM
Configuration information could not be read from the domain contro Elyo Ravuna Windows Server 2003 2 28-08-2007 12:20 AM
Configuration information could not be read from the domain contro Elyo Ravuna Windows Server 2003 0 28-08-2007 12:14 AM
IE7 Information Bar Kath XP Windows XP 2 27-08-2007 09:51 PM
Cannot read system information Sashi Windows XP 4 16-08-2007 08:04 AM


< Home - Windows Help - MS Office Help - Hardware Support >


New To Site? Need Help?

All times are GMT +1. The time now is 03:44 AM.


vBulletin, Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO
Copyright © 2005-2011, TechTalkz.com. All Rights Reserved - Privacy Policy
Valid XHTML 1.0 Transitional