472,983 Members | 2,360 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

I need to collect the summary info from the file properties

I need to go through a folder and all of its subfolders and collect the
Title, Comments, Keywords and a few other items. These are items that you
see when you select a file in the Windows explorer and look in Properties,
Summary. In VBA I'm able to get at this informatio using Dsofile.dll --
found on a MS site somewhere.

It looks like I'd like to use My.Computer.FileSystem, but I can't seem to
find out how to get what I need.

I'd appreciate any help anyone can give.
Jul 31 '08 #1
2 2798
"Art" <Ar*@discussions.microsoft.comschrieb:
>I need to go through a folder and all of its subfolders and collect the
Title, Comments, Keywords and a few other items. These are items that you
see when you select a file in the Windows explorer and look in Properties,
Summary. In VBA I'm able to get at this informatio using Dsofile.dll --
found on a MS site somewhere.
File version information from EXE, DLL, OCX, etc. files can be read using
'System.IO.FileVersionInfo'.

Office file formats (Word documents, etc.) and some other formats store this
meta information as OLE document properties.

The Dsofile.dll files lets you edit Office document properties when you do
not have Office installed
<URL:http://support.microsoft.com/?scid=kb;EN-US;224351>

Microsoft TechNet column: Tales from the Script - March 2005: Dsofile: The
Untold Story
<URL:http://www.microsoft.com/technet/scriptcenter/resources/tales/sg0305.mspx>

Download details: Developer Support OLE File Property Sample (DSOFILE)
<URL:http://www.microsoft.com/downloads/details.aspx?familyid=9ba6fac6-520b-4a0a-878a-53ec8300c4c2&displaylang=en>

For other file information (description, comments, etc.):

Information is stored in NTFS streams (Windows XP), which can be checked
with this tool:

Streams v1.56
<URL:http://www.microsoft.com/technet/sysinternals/utilities/Streams.mspx>

Basics:

File Streams (Windows)
<URL:http://msdn2.microsoft.com/en-us/library/aa364404.aspx>

How To Use NTFS Alternate Data Streams
<URL:http://support.microsoft.com/?scid=kb;EN-US;105763>

In Windows Vista support for NTFS streams has been removed from the shell:

Michal Morciniec : File Properties in Windows Vista
<URL:http://blogs.msdn.com/micham/archive/2007/09/25/file-properties-in-windows-vista.aspx>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Aug 1 '08 #2
Herfried,

Thanks very much -- your information was very helpful.

Due to the nature of my job I sometimes code and then for months at a time
am involved in other things. Thus I come and go on this forum. However your
name has become very familiar to me as you have, over the years, always been
very helpful when I get stuck on something. I just wanted to let you know
how much I appreciate it that you take the time to be so helpful.

"Herfried K. Wagner [MVP]" wrote:
"Art" <Ar*@discussions.microsoft.comschrieb:
I need to go through a folder and all of its subfolders and collect the
Title, Comments, Keywords and a few other items. These are items that you
see when you select a file in the Windows explorer and look in Properties,
Summary. In VBA I'm able to get at this informatio using Dsofile.dll --
found on a MS site somewhere.

File version information from EXE, DLL, OCX, etc. files can be read using
'System.IO.FileVersionInfo'.

Office file formats (Word documents, etc.) and some other formats store this
meta information as OLE document properties.

The Dsofile.dll files lets you edit Office document properties when you do
not have Office installed
<URL:http://support.microsoft.com/?scid=kb;EN-US;224351>

Microsoft TechNet column: Tales from the Script - March 2005: Dsofile: The
Untold Story
<URL:http://www.microsoft.com/technet/scriptcenter/resources/tales/sg0305.mspx>

Download details: Developer Support OLE File Property Sample (DSOFILE)
<URL:http://www.microsoft.com/downloads/details.aspx?familyid=9ba6fac6-520b-4a0a-878a-53ec8300c4c2&displaylang=en>

For other file information (description, comments, etc.):

Information is stored in NTFS streams (Windows XP), which can be checked
with this tool:

Streams v1.56
<URL:http://www.microsoft.com/technet/sysinternals/utilities/Streams.mspx>

Basics:

File Streams (Windows)
<URL:http://msdn2.microsoft.com/en-us/library/aa364404.aspx>

How To Use NTFS Alternate Data Streams
<URL:http://support.microsoft.com/?scid=kb;EN-US;105763>

In Windows Vista support for NTFS streams has been removed from the shell:

Michal Morciniec : File Properties in Windows Vista
<URL:http://blogs.msdn.com/micham/archive/2007/09/25/file-properties-in-windows-vista.aspx>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Aug 1 '08 #3

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

Similar topics

2
by: Mike Button | last post by:
Hello all, I am really really desperate on what I should do, and I am asking for help from anyone in this newsgroup, here's the situation: I am creating a form that is being run on a server...
1
by: mark.engelberg | last post by:
I am having trouble identifying the source of a memory leak in a Windows Python program. The basic gist is as follows: 1. Generate a directed graph (approx. 1000 nodes). 2. Write the graph to a...
0
by: gguindon | last post by:
I can't figure out how to set those properties (with C# programmatically) found on the Summary tab if you select the properties by right clicking on the file in Windows Explorer (that is for NTSF...
1
by: help! | last post by:
Hi, I have added service pack 2, and now I can no longer programmatically edit the summary tab information on the properties of a file. Can anyone suggest a fix / have a solution?? thanks
2
by: rufpirat | last post by:
Hello I'm in the middle of trying to build an "AD phone book", and this being my first try at asp.net, I have a few questions that I hope some of you might be able to help with: 1. Is it...
5
by: Learner | last post by:
Hello, Here is the code snippet I got strucked at. I am unable to convert the below line of code to its equavalent vb.net code. could some one please help me with this? static public...
17
by: freemann | last post by:
Can anyone provide example code showing how to send form results to a results page, email and a comma delimited file? Notice that I need it going to all three locations. Details: I have forms...
0
by: Kurt B. Kaiser | last post by:
Patch / Bug Summary ___________________ Patches : 396 open ( -5) / 3354 closed (+12) / 3750 total ( +7) Bugs : 864 open (-32) / 6087 closed (+52) / 6951 total (+20) RFE : 226 open...
0
by: Andrew | last post by:
Hello, Does anyone know how I can programatically access the file properties displayed in the Summary tab of the file properties under XP and the Details tab of the file properties under...
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
4
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

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.