Setting a file's attributes without using Dsofile.dll
Posted on 2011-02-18
I am creating a system in Excel VBA for multiple users for which I need to set the extended attributes for a a file (e.g. the 'Comments' property of TIF, PDF files)
How can I do this with VBA ? Is there an API command I can use ?
All my searches of the Internet have found nothing except DSOFile.dll - which I do not want to use as this would require an install for each user of my system.
I have searched on Experts Exchange and have likewise found no other suggestions that DSOFile.dll.
There is FileSetAttr but this only sets the flags such as 'ReadOnly' and 'Archive'.
Any suggestions would be most appreciated.