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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Setting Properties in Files via automation

Status
Not open for further replies.

TomCarnahan

Programmer
Dec 7, 2002
123
US
I have a utility I am building to help with configuration control with various projects. I would like to be able to take any kind of file (text, .MDB, .XLS, .PPT, .DOC and do like I manually do in Windows Explorer.

By manually right-clicking on the file, I select properties. When that is open, I am given the opportunity to record Title, Subject, Author, Keywords, and Comments. In addition, I can make up attributes such as "version", "test date", etc and store that info in the file as documentation. I refer to this as "branding" the file.

Does anyone know how to do this in VB code so that it handles all types of files. I understand that the way you do it for a text file is different from .MDB files, which is different than for Excel files.

You help is apprecitated ahead of time ... thanks!


--- Tom
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top