The information in this article applies to:
SYMPTOMSIt is possible to receive an "Out of Memory" error when using the ActiveControl property of the Visual Basic Screen object. CAUSEThe ActiveControl property of the screen object can leak memory when used with the Is operator. RESOLUTIONUse a temporary variable to work around the problem. For example, change the command click event in the code listed in the More Information section below to this code:
This code should run indefinitely.
STATUSMicrosoft has confirmed this to be a bug in Visual Basic version 3.0 for Windows. This problem has been corrected in Visual Basic version 4.0. MORE INFORMATIONSteps to Reproduce Problem
Additional query words: buglist3.00 3.00 MemLeak fixlist4.00
Keywords : PrgOptMemMgt |
Last Reviewed: August 31, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |