473,386 Members | 1,679 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,386 software developers and data experts.

File MetaData

In Windows OS'es you can right-click properties on a file from the file
explorer and view various info (meta data) about the file on the Summary
tab. Meta Data includes things like Title, Subject, Author, Comments, etc.
How do I access (get/set) this info programmatically?
Nov 16 '05 #1
4 10370
"ESPN Lover" schrieb
In Windows OS'es you can right-click properties on a file from the file
explorer and view various info (meta data) about the file on the Summary
tab. Meta Data includes things like Title, Subject, Author, Comments,
etc.
How do I access (get/set) this info programmatically?


You need a custom wrapper around the OLE Structured
Storage-COM-Interfaces. The VB.NET MVP Eduardo A. Morcillo has already done
this. You can download his library here:

http://www.mvps.org/emorcillo/dotnet/grl/

The library itself is written in VB.NET, but this doesn't matter of course,
as long as it is .NET. Eduardo provides a powerful example.

Have a look at this post as well:
http://groups.google.de/groups?selm=...TNGP12.phx.gbl

and this post (in german, just look at the code)
http://groups.google.de/groups?selm=...TNGP11.phx.gbl

Cheers

Arne Janning
Nov 16 '05 #2

Arne, thanks for the response. Do you know which .dll need to be wrapped?

"Arne Janning" <sp*****************@msn.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
You need a custom wrapper around the OLE Structured
Storage-COM-Interfaces.

Nov 16 '05 #3
"ESPN Lover" schrieb

Arne, thanks for the response. Do you know which .dll need to be wrapped?


Eduardo has build a custom wrapper around the COM-Interfaces IStorage,
IStream, etc. which are implemented in ole32.dll.

Cheers

Arne Janning
Nov 16 '05 #4
Thank you Arne!
"Arne Janning" <sp*****************@msn.com> wrote in message
news:On**************@TK2MSFTNGP09.phx.gbl...
"ESPN Lover" schrieb

Arne, thanks for the response. Do you know which .dll need to be
wrapped?
Eduardo has build a custom wrapper around the COM-Interfaces IStorage,
IStream, etc. which are implemented in ole32.dll.

Cheers

Arne Janning

Nov 16 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Jonathan Gibbs | last post by:
I'm very new to xml, and struggling a bit.. I want to use an .xsd file passed to a windows application to define a dataset's schema, and also (if possible) pass other metadata associated with...
2
by: Tomas Vera | last post by:
Hello All (This is being cross-posted to the C++ group), I've started receiving the subject message during a compile of a C++ based interface module used in my C# based WebApp. This module...
1
by: Joseph Geretz | last post by:
I'm transferring a file from server to workstation, using Web Service Extensions and DIME. Along with the file, which travels as a DIME attachment, I'm also sending along metadata information about...
2
by: EP | last post by:
I'm looking for a method by which to access Windows files metadata and have not been able to find anything in the standard modules or via Google - what is the standard approach? Shamefully I...
52
by: paytam | last post by:
Hi all Can anyone tell me how can I check that a file exist or no.I mean when you use this commands FILE *fp; if(!fp) //Could not open the file doen't show why it can not open it,may be the...
3
by: forest demon | last post by:
for example, let's say I do something like, System.Diagnostics.Process.Start("notepad.exe","sample.txt"); if the user does a SaveAs (in notepad), how can i capture the path that the user...
9
by: tubby | last post by:
Silly question, but here goes... what's a good way to determine when a file is an Open Office document? I could look at the file extension, but it seems there would be a better way. VI shows this...
3
by: JDeats | last post by:
I have a binary file (zip file) that's being created by my app and I would like to store a comma delimited list of items contained in that file (e.g. the .zip file contains 5 large TIFF images and...
5
by: Luis Zarrabeitia | last post by:
I need to parse a file, text file. The format is something like that: TYPE1 metadata data line 1 data line 2 .... data line N TYPE2 metadata data line 1 ....
0
by: xavierite | last post by:
I am using this method to insert into table of xmltype INSERT INTO xml_table VALUES (XMLType(bfilename('XMLDIR','Test_xml.xml'), nls_charset_id('AL32UTF8'))); xmlfile is like this <?xml...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.