The information in this article applies to:
SYMPTOMSIf you use the Assign method, when creating an object and the following code is fired three or more times, the object that is being assigned to the property disappears from memory:
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. MORE INFORMATIONAfter assigning an object to a property using the THIS reference, the property will then share the same properties, methods, and events as the object. After assigning the THIS reference to the property three or more times, the object is removed from memory and the value of the property returns to a null value. If the Assign method is not used when the property is created, an object can be assigned to the property repeatedly without being removed from memory. WORKAROUNDBy assigning the property back to null before assigning the value of the object to it, the object will not disappear. For example:
Steps to Reproduce Behavior
Additional query words:
Keywords : kbContainer kbCtrl kbOOP kbVFp600bug kbGrpFox |
Last Reviewed: July 19, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |