Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Object class is invalid for this container (OLEControl)
Message
De
18/11/2002 04:07:28
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Object class is invalid for this container (OLEControl)
Divers
Thread ID:
00723758
Message ID:
00723758
Vues:
62
hi,
I have a custom class named "myoleclass" that contain a ActiveX control.
I face problem of CREATEOBJECT() during runtime.
I tried the following code but it return "Object class is invalid for this container"
myvar = CREATEOBJECT("myoleclass")
Or
object.myproperty = CREATEOBJECT("myoleclass")
Or
object.ADDOBJECT("myproperty", "myoleclass")
It work in VFP7 but not in VFP6

Any workaround?
How to acess this object without adding it to form?

Thank you
I am not the most powerful man in this world.
I am not the worst man in this world either.
I just as same as all of you.
I still need to learn from my mistakes...
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform