By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,771 Members | 1,862 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,771 IT Pros & Developers. It's quick & easy.

I need to collect the summary info from the file properties

P: n/a
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
Share this Question
Share on Google+
2 Replies


P: n/a
"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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.