Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ActiveX question?
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00238864
Message ID:
00238911
Views:
10
>>Just wondering if any one know if there is a way to determine the version# of an activeX control programatically in VFP. i.e. I want to find out the version# of the calendar control at run time...
>>
>>Any help is appreciated !!!
>>
>>Thanks.
>
>If you know the name and location of the OCX file, all you have to do is pass it, along with an array to AGETFILEVERSION() (or GetFileVersion() in foxtools for VFP 5.0). The fourth array element will contain the version.

I almost suggested that, but will it nescisarily work? I thought the OCX file is like a VCX file with multiple classes. That means two different versions of an OCX file might have the same version of a component within the OCX. So if I'm right (no clue really) you would need a large library of Component version to OCX version cheat sheets.

Unless the version of the component is automatically assumed to be the same as the OCX by MS Standards (I know its an oxymoron)?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform