Paul -
Okay, so I'm trying to understand what this does ...
Will this hack into my files and get the original dates back?
The problem is I have a few distributed apps and some patches out on a website. When I ask a user whether they have the latest version of a program, they can only tell me the date. Unfortunately, it's always the date of the install -- not of the last revision.
TIA!
>>I'm almost sure this didn't happen in VFP 5.
>
>Nope, it also occurs in VFP 5.0. Like you, I also find it annoying, but I use GetFileVersion that is defined in FOXTOOLS.FLL.
>
>Code Example:
>
>SET LIBRARY TO FOXTOOLS.FLL ADDITIVE
>LOCAL ARRAY laVersion(12)
>LOCAL lnResult,ldVersion
>lnResult = GetFileVersion("MyApp.EXE",@laVersion)
>IF lnResult = 0
> ldVersion = laVersion[11]
>ENDIF
>
>HTH,
-- John Kiernan
"Maybe Amelia Earhart was just stealing the plane".