Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Version number
Message
 
To
26/12/2012 10:54:52
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
01560622
Message ID:
01560623
Views:
74
>I've been noodling with version() and applicationname.version and haven't been able to get a result for my created exe. I can display the current version of VFP but want the version of my exe to display.
>Would someone who has done this before please post the snippet that does the job?
LOCAL ARRAY laFile(1)
IF VERSION(2)=0 && runtime
   =AGETFILEVERSION(laFile,SYS(16,0))
ELSE
   =AGETFILEVERSION(laFile,JUSTPATH(SYS(16,0))+"\yourexe.exe")
ENDIF
?laFile(4)
"Navision is evil that needs to be erazed... to the ground"

Jabber: gorila@dione.zcu.cz
Jabber? Jabbim
Previous
Reply
Map
View

Click here to load this message in the networking platform