Jaime,
Yes, it's a bug that you can't copy a class that has an OLE control in it. I think (backup both classlibs first!) what you can do is edit the original, cut the OLE to the clipboard, save the class, copy it to the other lib. Then open both and paste the OLE back in.
>I've made a datepickertextbox class whch is a container with a textbox and an (OLE) MS Calendar control in it. Probably a common control that people make for their apps and it all works fine. I made it visually in the class designer.
>
>If I try to copy the class from one vcx to another by dragging and dropping in the class designer I get an error : "Object class is invalid for this container. Class containing OLE object is being ignored".
>
>What is the soluton to this problem ? If I go into the copied class and add a MS Calendar control and copy the code,properites/methods etc from the original class to the copied class all is fine but obviously not perfect ! :)