Windows API Functions

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

Guest

How can I read/write Windows File Properties (Author, Date Created, etc.)
through
Access VBA ?

I am assuming there is a Windows API Function for this.

Ocassionally I have need for other API Functions, is there a good book
detailing these functions ?

Thank you.
 
Using Windows, I can select a file, right click, and select "properties".
When I go to the Summary Tab, I have the ability to set title, subject,
author, etc.
There is also the ability to create custom properties.
There is also date created, date modified somewhere (I am assuming it is
part of the propteries).
Thanks.
 
The Microsoft Scripting Runtime File object offers you some of these
features. I don't see author in the list so it may not be a complete
solution.

~Mark
 
Hi Scott,

The file properties dialog in recent versions of WIndows shows two kinds
of property. Some - like date created, date modified, read only - are
part of the file system and are available through native VBA statements
and/or the FileSystemObject object. Others are stored in the file
itself. The ones on the Security tab are different again.

For Office documents, you can use DSOFILE.DLL to work with properties
such as title, subject, and custom properties. See
http://support.microsoft.com/?kbid=224351

For API stuff, API-Guide (http://www.mentalis.org/) is a valuable tool.
 
Back
Top