BUG: Menu Disabled in Application Activated Using OLE ControlID: Q191615
|
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.
Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article.
This problem occurs when using the following objects in the OLE control:
Microsoft Excel Worksheet
Microsoft Word Document
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.
Additional query words:
Keywords : kbActiveX kbContainer kbVBp kbVBp500bug kbVBp600bug kbGrpDSO kbOffice2000
Version : :; WINDOWS:5.0,6.0
Platform : WINDOWS
Issue type : kbbug
Last Reviewed: June 4, 1999