Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Version number from a VFP COM
Message
From
25/11/2000 13:18:41
 
 
To
25/11/2000 12:31:17
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00445371
Message ID:
00445380
Views:
27
>>>>>>>>>>>>>>>>
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform