Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Extract File Properties>Description>Comments 1

Status
Not open for further replies.

rockfish12

Technical User
Feb 12, 2002
31
0
0
US
Is there a way to extract any/all of the File Description elements for a given file?

To further clarify, in Win2K - and maybe other Win OS's (?) - , when you right-click on a file to get its properties, and click on the Summary tab, there are a number of Description elements that users can type stuff in, including Title, Subject, Category, Keyword, Comments, etc...

I have some plain text files (.txt) where a user has entered values in the Comments portion of the File Description. Can I get at these programmatically (using VBA, ideally)? I'm trying to write the name of the file and the associated comments to a database.

Any ideas? (Sorry if not right forum...)
 
Thanks, vb5prgrmr...had to modify to suit Access VBA environment, and it worked great!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top