473,549 Members | 2,935 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.Fil eSystem, 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 2830
"Art" <Ar*@discussion s.microsoft.com schrieb:
>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.File VersionInfo'.

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.microso ft.com/?scid=kb;EN-US;224351>

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

Download details: Developer Support OLE File Property Sample (DSOFILE)
<URL:http://www.microsoft.c om/downloads/details.aspx?fa milyid=9ba6fac6-520b-4a0a-878a-53ec8300c4c2&di splaylang=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.c om/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.microso ft.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*@discussion s.microsoft.com schrieb:
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.File VersionInfo'.

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.microso ft.com/?scid=kb;EN-US;224351>

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

Download details: Developer Support OLE File Property Sample (DSOFILE)
<URL:http://www.microsoft.c om/downloads/details.aspx?fa milyid=9ba6fac6-520b-4a0a-878a-53ec8300c4c2&di splaylang=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.c om/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.microso ft.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
2918
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 where there is no scripts allowed running (the software is from Opentext called Livelink)- therefore I need javascript to do the tasks listed below:...
1
1888
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 file. 3. Use the os.system command to invoke another program which processes the graph file (graphViz), and generates a gif image of the graph. 4....
0
1173
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 systems of Win 2000 and XP). So bascially I am writing a file to the harddrive and I want to store information about that file in the Summary tab...
1
1017
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
4447
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 correct, that PageSize equals the max size of the result set? 2. Is there a way to make asp cache the search result, so the domain controller won't be...
5
3772
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 List<RoleData> GetRoles() { return GetRoles(null, false); }
17
2068
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 created and working. The first form the user fills out and submits. The form properties are set to Send to other: "Custom ISAPI, NSAPI, CGI, OR ASP...
0
293
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 ( +2) / 234 closed ( +1) / 460 total ( +3) New / Reopened Patches ______________________
0
1603
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 Vista...? It would be nice to be able to get at the stuff under the Version tab in XP as well - but I suspect this is a different process(?) Any...
0
7518
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7446
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7715
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7956
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7808
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5368
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3498
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3480
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1057
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.