Chris
2004-05-19 10:38:24 UTC
In VB6, is it possible to obtain the keys of items in a
Collection object? Can it be done using the Win API? I
have many components which use the Collection and I'm
trying to avoid having to change them.
I'm well aware that there are lots of ways to accomplish
what I need but I specifically want to use a VB
Collection. I do not want to:
A) Use a Dictionary object.
B) Add a Key property to items.
C) Create a wrapper for the Collection.
D) Use a Collection but store the item as an array of key
& item.
Collection object? Can it be done using the Win API? I
have many components which use the Collection and I'm
trying to avoid having to change them.
I'm well aware that there are lots of ways to accomplish
what I need but I specifically want to use a VB
Collection. I do not want to:
A) Use a Dictionary object.
B) Add a Key property to items.
C) Create a wrapper for the Collection.
D) Use a Collection but store the item as an array of key
& item.