Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Version number for Help About Screen
Message
 
To
24/08/2000 11:06:14
Larry Long
ProgRes (Programming Resources)
Georgia, United States
General information
Forum:
Visual FoxPro
Category:
Project manager
Miscellaneous
Thread ID:
00256389
Message ID:
00408772
Views:
19
>>>How do I display the current Project Version number in my Help About Screen? I am using the About form from the component gallery.
>>>
>>>VFP6 SP3
>>>
>>
>>You can pull the details on the executable with AGETFILEVERSION(); FULLPATH(SYS(16,0)) will get the name of the executable.
>
>Do you know of a way to get the project version from VFP5?
>When I have a project open is there an object I can refer to like I can for VFP from the debugger i.e. "_vfp"?

Foxtools has GetFileVersion(). All you have to do is load the library, and pass it the file name and the array by reference (in that order). The array needs to be dimensioned to at least 12 elements. Version number is in the 4th element.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform