Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Version number from a VFP COM
Message
De
25/11/2000 13:18:41
 
 
À
25/11/2000 12:31:17
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00445371
Message ID:
00445380
Vues:
36
>>>>>>>>>>>>>>>>
>How do I display the version number of a VFP COM object? I would like to do this as a property in the COM object; i.e., oTest.Version.
>
>I know that in VB, you would do something like this:
>Public Property Get Version()
>Version = App.Major & "." & App.Minor & "." & App.Revision
>End Property
>>>>>>>>>>>>>>>>

You could write it to a property, like oTest.Version so it could be read, or you could write that info in the project manager and then make oTest.Getversion() a method, that uses VFP's AGetFileVersion( aVersionArray, cFileName )


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform