PRB: Runtime Error 7 : Out of Memory Error Message Occurs When BoundText Property of Data Combo Control Is Accessed in VB Code (257947)
The information in this article applies to:
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0 SP3
- Microsoft Visual Basic Enterprise Edition for Windows 6.0 SP4
- Microsoft Visual Basic Professional Edition for Windows 6.0
This article was previously published under Q257947 SYMPTOMS
If you try to access the BoundText property of a Data Combo control in Visual Basic code after you scroll down the list of elements in its list portion until the currently selected element is no longer visible in the list, the following error message is displayed:
Runtime Error '7': Out of Memory
CAUSE
The cause of this behavior is unknown.
RESOLUTION
Write code in the Click event of the Data Combo to store the value of the its BoundText property in a form-level variable. Use the form-level variable to access the value of the Data Combo's BoundText property.
Modification Type: | Major | Last Reviewed: | 6/28/2004 |
---|
Keywords: | kbprb KB257947 |
---|
|