Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
AGETFILEVERSION - VFP9 returns 0
Message
 
 
À
24/12/2009 12:53:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01440550
Message ID:
01440580
Vues:
33
>>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
>
>Where were you running this from?
>IIRC it will only return the correct info when run from the EXE, not from the IDE

You're right - it doesn't return information from inside the exe about itself, I just tried. However, it doesn't return anything from IDE for this exe either.

Only after I specified version information it returned it.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform