Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
'Object class is invalid for this container' Error
Message
From
25/10/2001 10:09:54
 
 
To
25/10/2001 10:04:19
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00573157
Message ID:
00573164
Views:
23
>Hi,
>I´m adding an COM Server (DLL) to a form, by this code at run time:
>thisform.addObject('loCir','circuitos.circuito')
>And it gives me exactly this error:
>'Object class is invalid for this container'
>
>The DLL is correctly registered. Custom class is its parent, and only has a few methods.
>What am I doing wrong?
>
>Thanks,
>Ibai

You can put it in a custom property of the form:
Thisform.myProperty = CreateObject("circuitos.circuito")
Previous
Reply
Map
View

Click here to load this message in the networking platform