Re: File MetaData (Summary)

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Alright, after several days of tireless translation, I've figured out how this stuff works.

The basic rundown is as follows:

The metadata you're looking for is actually made possible by the NTFS filesystem. That is, if you try to find these properties on a FAT32-formatted drive, you come up empty-handed.

There isn't an assembly in the .NET canon directly responsible for accessing those properties, but it is possible to get at them via a couple of COM interfaces, namely IPropertyStorage and IPropertySetStorage. After some searching through the back alleys of the 'net, I found some VB .NET code that had been written to do exactly what I was searching for. I have since found a multitude of new reasons to hate Visual Basic, and despise the coding practices that seem to cling to it like a diseased remora.

Ahem.

I don't have a place to upload the code here, but if you'd like to email me at lcrabtree AT goisi DOT com, I'd be happy to provide what I've got.

Lee Crabtree

AlexL wrote:
G'Day

I'm trying to develop an application to manage my .pdf and .chm files. To do so, I want to access (read/write) the Metadata of the files, like File->Properties->Summary in the Windows explorer.

I already searched for solutions, but honestly I'm a bit lost... does somebody knows an 'idiots guide' for that problem or perhaps some C# lines of demo code?!

Cheers
.



Relevant Pages

  • Re: Database development
    ... Martin Gregorie wrote: ... that hadn't occurred to the OP judging by his comment about searching out ... Nodes have metadata - such as authors, keywords, document id's, departments, this and that. ... Now, to get all the info about one doc, you have to get it's node ID, and the go to the metadata table, and find out the metadata that means "parent node", get it's id, then get this parents' children, then get all those documents and search for some keywords in those documents. ...
    (comp.lang.java.programmer)
  • Re: Where inside ROTOR.
    ... > Can you tell me where inside Rotor I can find sources for the MetaData ... API, I've been searching, just a little, and haven't found anything. ...
    (microsoft.public.dotnet.framework.clr)
  • DBIx::Recordset and Oracle
    ... (searching from Oracle databases take extremely long because ... DBIx::Recordset tries to get metadata for all tables), ... Prev by Date: ...
    (perl.dbi.users)
  • Re: Database development
    ... that hadn't occurred to the OP judging by his comment about searching out ... Nodes have metadata - such as authors, keywords, document id's, departments, this and that. ... Now, to get all the info about one doc, you have to get it's node ID, and the go to the metadata table, and find out the metadata that means "parent node", get it's id, then get this parents' children, then get all those documents and search for some keywords in those documents. ...
    (comp.lang.java.programmer)