Read the File Modified Date

Got a problem you cannot solve? Try here.
JohnH
Posts: 7
Joined: Thu Feb 01, 2007 12:02 pm

Read the File Modified Date

Postby JohnH » Sun Mar 18, 2007 4:19 pm

I've already asked this, but didn't get an answer.

I am using Web Media blocks to separate runtime and help files. I need to check our help files to determine if they are older, so I can download new one or not. The problem is the help files don't contain a version number, so I want to read the date from the file to determine if it needs updating. InstallaWare allow the version of the file to be read, but how can I get the date from the file.

Is there any way to get the date the file was modified using InstallaWare?

Regards,

John

neillans
Posts: 536
Joined: Sat Nov 04, 2006 6:21 am
Location: Scottish Borders, UK
Contact:

Postby neillans » Tue Mar 20, 2007 4:25 am

Hi John,

There is nothing built in to do this I'm afraid; you may be able to call one of the Windows internal functions to get something along the lines of what you are after (using the Call DLL Function), otherwise you will need to write a plugin I'm afraid :(
Andy Neillans

JohnH
Posts: 7
Joined: Thu Feb 01, 2007 12:02 pm

Date the file was modified

Postby JohnH » Wed Mar 21, 2007 8:31 am

Thanks neillans.

Who do I write a plug in?

Can I also suggest you add this as a feature? I'm sure other users would find it useful to read the date the file was modified.

Regards,

John

neillans
Posts: 536
Joined: Sat Nov 04, 2006 6:21 am
Location: Scottish Borders, UK
Contact:

Postby neillans » Wed Mar 21, 2007 8:33 am

Hi John,

For more information on plugin authoring, please have a look at the section "Plug-In Authoring Overview" in the help file.

I'll add your suggestion to our wish list.
Andy Neillans


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 109 guests