Article ID: 202476 - Last Review: January 23, 2007 - Revision: 3.3 BUG: Cannot edit Word document in OLE or WebBrowser controlThis article was previously published under Q202476 On This PageSYMPTOMS
When using the OLE control or WebBrowser control on a form in Microsoft Visual Basic to view a Microsoft Word document, you are unable to type any text into the Word document.
CAUSE
This problem occurs if a separate instance of Microsoft Word is running and you switch focus to that instance of Word. When you switch focus back to your Visual Basic form, the Word document in the OLE control or WebBrowser control can no longer be edited.
A workaround for this problem is to activate the Word document in its own Window, rather than using in-place activation. To accomplish this, set the MiscFlags property of the OLE control to vbOLEMiscFlagDisableInPlace, or 2. For example:
MORE INFORMATIONSteps to reproduce the behavior
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section. REFERENCES
If you are using the WebBrowser control instead of the OLE control, the following Knowledge Base article shows how to configure your system so that the Word document is activated in its own window inside Microsoft Word:
162059
(http://support.microsoft.com/kb/162059/EN-US/
)
Office Documents Open in Internet Explorer
For additional information, click the following article numbers to view the articles in the Microsoft Knowledge Base:
191615
(http://support.microsoft.com/kb/191615/
)
BUG: Menu disabled in application activated using OLE control
243392
(http://support.microsoft.com/kb/243392/
)
Document opened in Internet Explorer appears inaccessible; exception AV may occur
| Article Translations
|
Back to the top
