Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I get the version number of a exe program?
Message
De
01/12/2000 08:23:22
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00447933
Message ID:
00447961
Vues:
14
If you are using VFP6+

DIMENSION aVerInfo[1]
=AGETFILEVERSION('aVerInfo',alltrim(SYS(16,1)))
THISFORM.lblVersion.CAPTION = 'Version: '+ALLTRIM(verInfo[1,4])

SYS(16,0) or SYS(16,1) will give you the name of the exe.

HTH
Henri
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform