Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to determine the version of an EXE of my App, not of
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00401166
Message ID:
00401171
Views:
24
>Hi all,
>
>I'm trying to figure out how to get the current version of our application at run-time -- Not the VFP version().
>
>I know that in the project, I can get access to it during the building process with a project hook, but is there another way to read the version at run-time?
>

In VFP6, you can use AGETFILEVERSION(); prior to that, the FoxTools GetFileVersion function; these work against .EXE or .DLL files in a consistent fashion. You need to embed the information or it won't appear.

>TIA
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