Re: How do I make a collection of structures

Tech-Archive recommends: Fix windows errors by optimizing your registry



He may as well simply define a class and add that to the collection after
initialising it with the necessary values.

Martin

"Tony Proctor" <tony_proctor@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:eXeRh6kLGHA.2904@xxxxxxxxxxxxxxxxxxxxxxx
Only if your Type is defined in a Public class of a separate ActiveX
DLL/EXE

Tony Proctor

<BLACKDOG157@xxxxxxxxx> wrote in message
news:1139573552.184049.272150@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I know that I can make a collection of simple types, but can Visual
Basic 6 make a collection of structures?
For instance, with a collection I can do gSymbolCollection.Add "@ES"
But can I do:
Mystruct.first = 1
Mystruct.second = 8
Mystruct.third = 12
gMyCollection.Add MyStruct?
Thanks





.