Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I get the version number of a exe program?
Message
From
01/12/2000 08:23:22
 
 
To
01/12/2000 07:48:33
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00447933
Message ID:
00447961
Views:
18
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
Previous
Reply
Map
View

Click here to load this message in the networking platform