>>>Use this.AddObject() instead
>>>
>>I was thinking about it, but it's not possible. The main class is based on another class which is custom olepublic and another class is also custom (but in VCX form). I don't think we can use AddObject method to add new classes to custom class.
>
>Sure you can
One minor problem, although I know how to fix - when I added a class this way it became all upper case.
If it's not broken, fix it until it is.
My Blog