Information générale
Catégorie:
Codage, syntaxe et commandes
Oops, I misread your message. I read it now and I remember I had the same problem a few months ago. The only good solution I found was to use a Form instead of a simple container.
Another solution is to have a property that holds a reference to the ActiveX object. You create the object using:
This.MyActiveX = CreateObject( "MyControl.MyControlCtrl.1")
where MyControl.MyControlCtrl.1 is the ProgID registry key found under the ActiveX classid registration. This works with any type of class, not only containers. But this is not so "natural".
Vlad
>Yes, but custom is not a container so you aren't able to add an ole control to it...
Précédent
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