General information
Category:
Coding, syntax & commands
>>>>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
>>
>>i just retried your suggestion with a path to the rci.exe and i now get a 0 return to the getfileversion function.
>>
>>help me with this, 0 means the function was sucessful - but where do i get the version number?
>>
>>thanks
>>
>>jim
>
>The version number is in a_Verinf[4]. I
You were right - in a way. When i ?a_verinf[4] I get 3.2.1 but my version is 2.4.1
but at least i am getting something back, that is a start. I think part of you message was cut off - see above.
anymore suggestions?
thanks
jim
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only