|
-
May 19th, 2002, 05:24 PM
#1
Thread Starter
Lively Member
Combo box memory?
VB6. I have 1 form with 64 combo boxes. The problem is that when the form is loaded (even in design mode) it takes up too much memory (system resources). And for some users (LAN), when they run the exe, it causes a Run time Error 7 - out of memory.
Is their a way to reduce the memory the combo boxes use?
Any suggestions?
Note: I have the same problem even if I don't populate the combo boxes.
-
May 19th, 2002, 05:37 PM
#2
Hyperactive Member
Is there no way to reduce the number of combo boxes? Or load them dynamically limiting the amount of times that all 64 comboboxes are needed.
See ya later,
-=XQ=-
"Reality is merely an illusion, albeit a very persistent one. "
- Albert Einstein (1879-1955)
This is the coolest site ever!!!
-
May 19th, 2002, 05:40 PM
#3
I think there must be something else going on like some sort of loop that uses up your system memory. I created a form with 64 comboboxes and had no problem opening the form. BTW I have an application that has over 400 controls on one form (only 11 are comboboxes) and memory is no problem.
-
May 19th, 2002, 05:54 PM
#4
Thread Starter
Lively Member
Marty
I'll look for a loop.
But get this... In design mode, when I double click on the form, my system resources (which I'm monitoring on the side) goes from 63% free to 34% free. Other forms seem to drop the resources by only 5% or so, not 30%.
What in design mode could be using up all the resources?
Thanks
-
May 20th, 2002, 09:54 AM
#5
How are you monitoring system resources? When I use Word's Help|SystemInfo for my 64-combobox test form or my 400+ control form I see no such decrease in physical memory. I can understand your problem happening if you have a lot of code in the form and your program is running, but otherwise I'm stumped.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|