473,670 Members | 2,343 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

.Net access to windows explorer column values

Newsgroup:

In Windows explorer (Not internet explorer) when viewing .txt files the
information displayed usually includes name, size, type, date modified, etc.
It's also possible to display fields such as Comments and Notes by right
clicking in the column bar and then selecting the fields to be displayed.
It's possible to modify this information for text files by right-clicking the
..txt file, going to properties, selecting the summary tab, and then putting
in the values.

My question is if it's possible for a VB.Net program to programmaticall y
access, alter, retrieve and update the values stored in windows explorer for
..txt files. I'm especially interested in using the comments and title
columns. My guess is that it can be done, perhaps through some API call.
Code samples would be very helpful.

If someone can point me in a correct direction it will be much appreciated.

Thanks,

--
MAFDoit
Aug 24 '05 #1
1 1446
On Wed, 24 Aug 2005 12:17:05 -0700, MAFDoit wrote:
Newsgroup:

In Windows explorer (Not internet explorer) when viewing .txt files the
information displayed usually includes name, size, type, date modified, etc.
It's also possible to display fields such as Comments and Notes by right
clicking in the column bar and then selecting the fields to be displayed.
It's possible to modify this information for text files by right-clicking the
.txt file, going to properties, selecting the summary tab, and then putting
in the values.

My question is if it's possible for a VB.Net program to programmaticall y
access, alter, retrieve and update the values stored in windows explorer for
.txt files. I'm especially interested in using the comments and title
columns. My guess is that it can be done, perhaps through some API call.
Code samples would be very helpful.

If someone can point me in a correct direction it will be much appreciated.

Thanks,


This Technet article
http://www.microsoft.com/technet/scr..._fil_lunl.mspx
describes how to do it in vbscript; gives you a starter point for doing it
in vb.net.
Aug 24 '05 #2

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

Similar topics

0
1303
by: MAFDoit | last post by:
NEWSGROUP: This is a followup to the post below. The original post was helpful and I now know many ways to RETRIEVE information from Windows explorer, but I haven't yet found a way to INSERT or UPDATE values into the comments or titles fields. If someone knows how VB.Net can INSERT or UPDATE column values in windows explorer that will be very helpful. Thanks,
14
5406
by: Sean C. | last post by:
Helpful folks, Most of my previous experience with DB2 was on s390 mainframe systems and the optimizer on this platform always seemed very predictable and consistent. Since moving to a WinNT/UDB 7.2 environment, the choices the optimizer makes often seem flaky. But this last example really floored me. I was hoping someone could explain why I get worse response time when the optimizer uses two indexes, than when it uses one. Some context:
5
7348
by: rob | last post by:
Hi to all. I am pretty new to using Access and am having a problem I hope someone can help me with. I want to access a MS-Access database from a web page. I have managed to get it "sort" of working using MS-Access's 'data access page' function as it were. This creates a web page that is linked to a database table. The problem that I have is that if data in the dbase is changed, it does not immediately reflect
6
4739
by: Peter Frost | last post by:
Please help I don't know if this is possible but what I would really like to do is to use On Error Goto to capture the code that is being executed when an error occurs. Any help would be much appreciated. Thanks in advance
1
2634
by: VMI | last post by:
I have a Windows datagrid whose column values are (1,10,100,1000,101,10-1,103,11,1710,2). When the column's sorted (the column's of type String), it'll sort this way , which is wrong. But in Windows Explorer, when there are files with these same names , Explorer will sort them like this: , which is correct. How can I emulate this Windows explorer sort in my column? Thanks.
1
264
by: MAFDoit | last post by:
Newsgroup: In Windows explorer (Not internet explorer) when viewing .txt files the information displayed usually includes name, size, type, date modified, etc. It's also possible to display fields such as Comments and Notes by right clicking in the column bar and then selecting the fields to be displayed. It's possible to modify this information for text files by right-clicking the ..txt file, going to properties, selecting the summary...
4
6396
by: alexandre.brisebois | last post by:
Hi, I am using access 2003, I would like to know if there is an option to reorganize the tables in a maner that is readable, as we can do in sql sever 2000 or 2005. I have been given a database to look a and I am loosing tremendious amounts of time trying to organize it so that I could view it. Regards, Alexandre Brisebois
2
3223
by: Michael Bialowas | last post by:
Hello all, I have been searching the net endlessly and found this ng, so I thought I would give a try. Anyways, I have a few problems I am trying to implement a combo box which presently contains the following: Description, Price, and Treatment code. I wish to do the following: when the description field(combo box) is clicked I want the price, treatment code, insured field to become automated(update the corresponding data automatically)....
0
8386
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8903
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8661
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7419
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6213
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4211
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4391
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2800
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2042
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.