Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to Get Build Date & Version Info from a Exe ??
Message
De
28/10/1999 07:25:03
Vinod Parwani
United Creations L.L.C.
Ad-Dulayl, Jordanie
 
 
À
28/10/1999 07:19:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00282845
Message ID:
00282893
Vues:
19
>>>>How to Get Build Date & Version Info from a vfp generated Exe ??
>>>
>>>In VFP6, you can use AGETFILEVERSION(); prior to that, you needed to use a FoxTools function - check George tasker's Extended FoxTools Help from the Files Section on UT for details on how the FoxTools function works.
>>>
>>>SYS(16,0) will get the name of the executable file that started VFP; this won't be very helpful if you use a Launcher app, since the launcher is the actual executable being run.
>>
>>Thnks for the reply.. Pls note foxtools function GetFileVersion is returning version info.. but not the Build Date..
>>
>>Can u pls tell me how to get "Build Date"
>
>I don't know the FoxTools stuff, which is why I referred you to George's docs; the build date isn't carried in the header except as comments AFAIK - the version should identify the build. Sorry if this doesn't help. It is not a standard item in the resource header, but can be carried in a comments string block in the header. The MSDN docs for Visual C++ discuss the resource editor information in detail in the Adding User Interface Features topic's FAQ - I do not have a URL for this.
>
>My own approach to this is to have the Build number be unique and to increment the revision per compilation, the minor build per release, and major build when distinct versioning of the application occurs, such as when major new functionality is added or language versions or major design changes occur.
>
>The standard editable blocks carried in the .EXE resource are:
>
>Comments, Company Name, File Description, Copyright, Trademark, Product Name, Language ID
>
>Additional details such as internal names, original file names, and whether the executable is self registerable are also available. The VFP6 docs for AGETFILEVERSION() list all the major information in the resource header.
>
>The Creation date is carried as a part of the directory entry, not part of the version information header.

Thnks for the detailed reply...

I was trying to show build date in abt. box of my application, so i can verify that latest version is installed on user's computer..

I'll try to use version no. instead..

Thnks for the help..
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform