Mars base one Username: Jim Davis Password: yCrm33
Posts
1,284
What are the limits of VB6? (Can't create autoredraw image)
Hello!
I am not about to testing how big image can i load, or resizing a form, but i'm want to test what are the outer limits (max) of VB6 mdi forms can handle.
In test 1, (for some reason) i can open up 97 mdi childs, with a gradient filled picturebox, but the next will give me a Can't create autoredraw image.
In test 2, i have using 4 pieces of half size pictureboxes, with gradient fill (on the same width and height form). There i can open up 100 instances but the 4th image on the 100th child will be failing in the same reason.
Well its quite strange, that i can open up 2 more forms, but fill the same area. What are the limits in real?! Is there any experiment about this thread?
This is only a test, but i am working on a big application, that is able to use numeros instances of the same form (designer). There, it raising me the Autoredraw error right after i instantiate 30 clones of it. Well, the reason is i know, i am using some pictureboxes, but i also use a lots of usercontrols placed on those form.
But its getting quite annoying, that i dont know what limits should i set to the program, to avoid this issue?
Last edited by Jim Davis; Dec 7th, 2008 at 10:08 PM.
Reason: Attachment lost :)