>>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
Gregory