-
Two parts to my question
1) Im trying to create a generic object which can be multiple types. This sounds like inheritence which is going to be in VB7. I was thinking of creating an class with generic properties and then a CustomProperties collection in that object so I can add values for the different types and not have heaps of properties which are only used by 1 type. That way when vb7 comes out it might make it a bit easier to migrate. Does this sounds right?
2) Current you can only add one type of object to a collection. Any guesses as to how this will work with VB7 and inheritence? Will you be able to add objects which have inherited the interface form the main object?
-
multiple interfaces?
1) My guess is to use multiple interfaces on an object with the IMPLEMENTS keyword (they call it interface inheritance)
With this trick you can already use some inheritance in VB.
(I'm sorry, I just know that it's possible, not exactly how it must be programmed, just hoping to give some more ideas)