Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Object class is invalid for this container (OLEControl)
Message
From
18/11/2002 04:07:28
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Object class is invalid for this container (OLEControl)
Miscellaneous
Thread ID:
00723758
Message ID:
00723758
Views:
61
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...
Next
Reply
Map
View

Click here to load this message in the networking platform