PRB: Out of Memory Error Using VB Outline ControlLast reviewed: February 18, 1996Article ID: Q107769 |
The information in this article applies to:
- Professional Edition of Microsoft Visual Basic for Windows, version 3.0
SYMPTOMSMSOUTLIN.VBX is the outline custom control file in Visual Basic. An out of memory error can occur with an outline control for the reasons shown in the Cause section below.
CAUSEAn outline custom control can give an out of memory error if it contains more than 6537 items or uses too much string space. Each item cannot exceed 1K. Each form is limited to a single 64K data segment for all properties of the form and all properties of controls on that form. All data that you add at run time to the outline controls on a form is stored in this same, shared 64K data segment. String space for outline controls will thus be limited by memory used by other controls on that form. If the out of memory error occurs at design time instead of run time, you may be running into a code size limitation.
STATUSThis behavior is by design.
MORE INFORMATIONThe size allowed for the List property of an outline control is smaller than for the following controls that store data in separate segments of memory:
Steps to Reproduce Behavior
REFERENCES
|
Additional reference words: 3.00
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |