Re: How do I make a collection of structures
- From: "Martin Walke" <martin.walke_no_spam@vega_dot_co_dot_uk>
- Date: Fri, 10 Feb 2006 15:39:08 -0000
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
.
- Follow-Ups:
- Re: How do I make a collection of structures
- From: Tony Proctor
- Re: How do I make a collection of structures
- References:
- Re: How do I make a collection of structures
- From: Tony Proctor
- Re: How do I make a collection of structures
- Prev by Date: Re: Problem printing
- Next by Date: Array as parameter to function
- Previous by thread: Re: How do I make a collection of structures
- Next by thread: Re: How do I make a collection of structures
- Index(es):