Article ID: 191615 - Last Review: February 12, 2007 - Revision: 4.2 BUG: Menu Disabled in Application Activated Using OLE ControlThis article was previously published under Q191615 On This PageSYMPTOMS
On a form in Visual Basic, you use the OLE control to embed a document,
such as a Microsoft Word document. If the server application is already
running when you in-place activate the OLE control, the menu and toolbars
in the server application are disabled while the OLE control is in-place
activated. This problem does not occur if the server application is started
after the OLE control is in-place activated. This problem also occurs when using the WebBrowser control instead of the OLE control. STATUS
Microsoft has confirmed this to be a bug in the Microsoft products
listed at the beginning of this article.
MORE INFORMATION
This problem occurs when using the following objects in the OLE control:
Microsoft Excel Worksheet Microsoft Word Document (fixed in Word 2000 and Word 2002) To avoid problems using the menu and toolbars in the server application, activate the OLE control in its own window. To do this, set the MiscFlags property of the OLE control to 2 (VbOLEMiscFlagDisableInPlace), or use the vbOLEOpen constant with the DoVerb method when programmatically activating the OLE control. Steps to Reproduce Behavior
APPLIES TO
| Article Translations
|
Back to the top
