Information générale
Catégorie:
Codage, syntaxe et commandes
>>>>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
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement