Windows API Functions

S

Scott

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.
 
S

Scott

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.
 
M

MarkInSalemOR

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
 
J

John Nurick

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top