Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Vfp 5.0a foxtools getfileversion()
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00029854
Message ID:
00030009
Views:
40
>>it would be nice to use the version number that is entered when an .exe file is created.
>>
>>i assume that foxtools getfileversion() could do this but i can not get it to work.
>>
>>i am using v_version=getfileversion(rci.exe,4)
>>
>>what is wrong?
>>
>>thanks
>>jim
>
>Jim,
>
>Try:
>
>DIMENSION a_verinfo[12]
>= GetFileVersion('rci.exe', @a_verinfo)
>
>Good Luck,
>
>George

well at least i get a return on the function, but it gives -1 This is not my file version.

the help file says element number 12 should give the Special Build which seems right. i also tried 11 (product version) and 4 (file version) and they did not work.

any ideas

jim
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform