Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Version
Message
From
11/08/2006 17:08:40
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01144663
Message ID:
01144944
Views:
22
>>>>I lost my snippet of code that puts the version of a VFP executable into a variable. Does anyone have that handy?
>>>>
>>>>Thanks from Canada, home of the great white slush. (Yep - it's melting)
>>>
>>>You mean AGETFILEVERSION()? It's element 11 in the returned array for VFP, element 4 your version of the .EXE.
>>
>>Okay, I noodled around with that and had no success. Please give me a hint.
>
>
>IF AGETFILEVERSION(aGetFileInfo,"<exe_name>") > 1
>	lcVersion = aGetFileInfo[4]
>ENDIF
>
Okay, I got it going. All I need to do now is get the build number to show. e.g. 1.234.56
I ain't skeert of nuttin eh?
Yikes! What was that?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform