I have an object model that looks like this in the VB6 Class Wizard:
I'm trying to create instances of my clsDataNumeric value class like so:
Me.NumerData.Item(i).NumericValues.Add
All the code seems to run fine but when I do something like:
ATest.SomeNumericItems.SomeNumericValues.Count I get 0 and the object above was never created.
What I'm really getting at is:
Is there any problem of having a collection class with a collection class type of thing? Why cant I create an unstance of this class?
How come my clsNumericItem is listed twice in the VB6 Class Wizard (see above image)?
I know I can't post my code because its far to complex but any advice would be good.
Cheers
elziko
I'm trying to create instances of my clsDataNumeric value class like so:
Me.NumerData.Item(i).NumericValues.Add
All the code seems to run fine but when I do something like:
ATest.SomeNumericItems.SomeNumericValues.Count I get 0 and the object above was never created.
What I'm really getting at is:
Is there any problem of having a collection class with a collection class type of thing? Why cant I create an unstance of this class?
How come my clsNumericItem is listed twice in the VB6 Class Wizard (see above image)?
I know I can't post my code because its far to complex but any advice would be good.
Cheers
elziko