Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I get the version in my executables?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00167228
Message ID:
00167766
Views:
25
Hector, If you are using VFP 6.0, the vfpglry.vcx class can be used in this fashion:

*-- Get Program Version
LOCAL m.lcEXEFile
m.lcEXEFile = SYS(16,0) && Name of current EXE
DIMENSION aVerArray[1]
IF aGetFileVersion( aVerArray, m.lcEXEFile ) > 0
? aVerArray[11]
ENDIF
RELEASE aVerArray
Juan L. Romero
gcandela@javanet.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform