Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Version
Message
From
11/08/2006 11:37:42
 
 
To
11/08/2006 10:20:06
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:
01144843
Views:
17
>>>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
Wine is sunlight, held together by water - Galileo Galilei
Un jour sans vin est comme un jour sans soleil - Louis Pasteur
Water separates the people of the world; wine unites them - anonymous
Wine is the most civilized thing in the world - Ernest Hemingway
Wine makes daily living easier, less hurried, with fewer tensions and more tolerance - Benjamin Franklin
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform