>I created an OLE Automation DLL that has one public OLE class
>FOle is my DLL
>Test is an class in the DLL
>
>1- If I use the command following
>
>Thisform.AddObject("oTest", "FOle.Test")
>
>I receives the message
>"Object class is invalid for this container."
>----------------------------------------------
>2- If I use the command following
>
>Thisform.AddObject("oTest","olecontrol,"FOle.Test")
>
>I receives the message
>
>"OLE error code 0x80004002; Unknown COM status code"
>
>Thanks
>Eric
VFP COM objects do not have an ActiveX interface, they cannot be "contained". Use CREATEOBJECT() instead.
Erik Moore
Clientelligence