AuthorMessage
Corayzon
Regular
Posts: 67

hey guys, ...
at work awhile back i came across a problem of needing a editable amount of arrays to also contain another editable amount of arrays...
I can make a activex control to act like one array but vb6 doesnt support non fixed length arrays to be public in active control and some object modules...
i temp solved it by having a array of a user definded type, but the process time is going to get way to slow as the buiness's data slowly grows.
any ideas would be awsome, thankz matt
Meka][Meka
Unstopable
Posts: 700

Quoted from Corayzon
hey guys, ...
at work awhile back i came across a problem of needing a editable amount of arrays to also contain another editable amount of arrays...
I can make a activex control to act like one array but vb6 doesnt support non fixed length arrays to be public in active control and some object modules...
i temp solved it by having a array of a user definded type, but the process time is going to get way to slow as the buiness's data slowly grows.
any ideas would be awsome, thankz matt

got an example of what u mean?
Corayzon
Regular
Posts: 67

say we have...
Profiles(?) as p2pSlave_DLL.Profile
what i want to do is this...
profiles(Index).RegUsers() as p2pSlave_OCX.RegUser
my problem is that in user controls u cant have public user defined types as fixed lenth arrays with the object itself.
so i was thinking of beeting this by using a similar method to how split makes it arrays. But i just cant do it.
Neways this has been solved by building the component class's in c++ as user controls.
but knowing how to build unfixed length arrays would be awsome!