zwoekie
Feb 2nd, 2001, 02:54 PM
Hi everybody!
I created an active x component(adressbox) which I want to use in an adress app (like MS outlook).
With a RecCount function a get the number of records in the database (147).
For every record a want to have an instance of the adressbox, like the adressbook of Outlook.
So I draw an instance of the component on a form and with a loop and the Load function I try to get 147 of these adressboxes.
But halfway I get a memory overflow.
Okay, I got that, I ran out of resources.
But how to overcome this problem?
Do I need an array of adressboxes or a collection?
I need to create memory dynamically but how?
Can anyone help me?
I created an active x component(adressbox) which I want to use in an adress app (like MS outlook).
With a RecCount function a get the number of records in the database (147).
For every record a want to have an instance of the adressbox, like the adressbook of Outlook.
So I draw an instance of the component on a form and with a loop and the Load function I try to get 147 of these adressboxes.
But halfway I get a memory overflow.
Okay, I got that, I ran out of resources.
But how to overcome this problem?
Do I need an array of adressboxes or a collection?
I need to create memory dynamically but how?
Can anyone help me?