Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
AGETFILEVERSION - VFP9 returns 0
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01440550
Message ID:
01440555
Views:
44
>Little help...aGetFileVersion is not returning anything in VFP9SP2, the EXE is there in the same directory. Am I doing something wrong?
>
>
>
>? AGETFILEVERSION(laVersion,[ctd.exe])
>
>return 0
>
>
>Thanks

Kirk,

Did you try

?agetfileVersion(laVersion, fullpath('ctd.exe'))

I'm thinking AGETFILEVERSION perhaps not seeing the exe. Also in order for AGETFILEVERSION() to return something you need to provide version information for the exe (when bulding exe you have an option to do so).
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform