Click to See Complete Forum and Search --> : Out of memory


GYakich
May 1st, 2001, 12:54 PM
I am having a problem during the load of a form. (Note: I inherited this project from the previous developer so I do not know exactly how many objects are on the form. Many are hidden.) I am loading a form which contains many objects plus 96 graph objects I am loading. The form loads these graphs last. It loads 86 graphs and errors with an "Out of memory" error. I have verified that memory is not being filled. Is there a limitation on the number of objects being loaded on a form? Is it a bug in VB? If so is there a work around? Any help would be greatly appreciated.

Kdev
May 1st, 2001, 01:15 PM
The only thing I know about this sort of thing is that vb allows you only 256 individual controls on a form (Note: control arrays are counted as one control so use arrays as much as possible)

Ran into a similar problem with a form I inherited from a guy that already had 256 controls on it :(

-K