G
Guest
Hi. My VB6 application has several collections of custom classes, and each class has differing properties (ie. the classes are not necessarily related). I want to write a generic function which can be passed any collection in order to populate a control based on the objects in the collection. I figure I would have to pass the type of object into the function too in order to be able to cast each item of the collection, plus, say, a string array of field names (representing class properties) the user wanted to display in the control. Any pointers how to do this
Thank
Dav
Thank
Dav