Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Vfp 5.0a foxtools getfileversion()
Message
De
29/04/1997 20:12:40
 
 
À
29/04/1997 00:09:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00029854
Message ID:
00030192
Vues:
42
>>>>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
Fil
Voir

Click here to load this message in the networking platform