>>>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
Thanks, then I'll do it this way and undo what I've done last night.
If it's not broken, fix it until it is.
My Blog