Information générale
Catégorie:
Contrôles ActiveX en VFP
>>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)?
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement