Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cannot access activex functions
Message
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00513273
Message ID:
00513277
Vues:
16
>hello,
>
>i created an activex control, and defined a function call MyFunction()
>when i tried to create the control during runtime i get the error
>'Object does not support this property/method'
>
>heres the code...
>
>Dim MyControl as Control
>...
>Set MyControl = Controls.Add("MyActiveXSample.MyControl", "MyControl")
>MyControl.Visible = true
>
>'*** ERROR HERE ***
>call MyControl.MyFunction()

Is MyFunction declared Public?
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform