.Net access to windows explorer column values

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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 programmatically
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,
 
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 programmatically
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/scriptcenter/guide/sas_fil_lunl.mspx
describes how to do it in vbscript; gives you a starter point for doing it
in vb.net.
 
Back
Top