Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Exe version number?
Message
From
20/08/1999 21:19:43
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00255986
Message ID:
00256152
Views:
28
>Hi Fred!
>
>Thanks, I will use the AGETFILVERSION(). Dumb question though <g>, how can I get the path and name of the currenctly running executable since I will not know where the user installs it.
>

FULLPATH(SYS(16,0)) gives you the name of the executable, including the path.

>Thanks!
>
>
>>>Can anyone tell me how I can access via code the .exe version number that I can set when I build the executable? I would like to be able to check that the user is running a current version of my application.
>>>
>>>Thanks!
>>
>>Hi Vern!
>>
>>You can use AGETFILEVERSION() for VFP6. For VFP5, I think there's a similar function in FOXTOOLS, (GETFILEVERSION ?).
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform