The information in this article applies to:
SYMPTOMSThe Visual Basic OLE Container Control has an AutoActivate property that enables a user to activate an OLE object in different ways. Setting this property to "1 - GetFocus" does not automatically activate the application that provides the OLE object when the OLE container control receives the focus. RESOLUTIONTo work around this bug, code needs to be added to the OLE Container Control's GotFocus event to automatically activate the application that provides the OLE object when the control receives the focus. The following code makes the OLE Container Control behave as though its AutoActivate property were set to "1 - GotFocus":
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available. MORE INFORMATIONSteps to Reproduce Behavior
REFERENCESFor more information about the DoVerb method of OLE Container control search the on-line Help for the topic "DoVerb." Additional query words: kbole
Keywords : kbVBp400bug kbVBp500bug kbVBp600bug kbGrpVB VBKBCtrl VBKBInt VBKBOLE VBKBOLEContainer VBKBStd |
Last Reviewed: January 5, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |