FIX: Out of Memory w/ Var Named ClientLeft/Top/Width/HeightLast reviewed: October 30, 1997Article ID: Q102069 |
3.00
WINDOWS
kbprg kbbuglist
The information in this article applies to: - Standard and Professional Editions of Microsoft Visual Basic for Windows, version 3.0
SYMPTOMSWhen you use a variable named ClientLeft, ClientTop, ClientWidth, or ClientHeight without explicitly defining the variable with Dim or Global, Visual Basic incorrectly generates the error "Out of memory - insufficient variable space," error code 3761.
WORKAROUNDDefine the variable using Dim or Global. For example:
Dim ClientLeft As Single STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This problem has been corrected in Visual Basic version 4.0.
MORE INFORMATION
Steps to Reproduce Problem
Sub Form_Click () ' any of the following statements cause the error Print ClientLeft Print ClientTop Print ClientWidth Print ClientHeight End Sub |
Additional reference words: buglist3.00 buglist3.00 fixlist4.00
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |