Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setup Wizard - Original Dates
Message
De
06/07/2000 12:29:08
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00388701
Message ID:
00388960
Vues:
13
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".
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform