CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Out of memory

  1. #1
    Join Date
    May 2001
    Posts
    1

    Out of memory

    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.


  2. #2
    Join Date
    Jan 2001
    Posts
    165

    Re: Out of memory

    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


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured