Microsoft KB Archive/110236

= Can't Switch to Server Application While Dialog Box Open =

Article ID: 110236

Article Last Modified on 8/15/2005

-

APPLIES TO


 * Microsoft Excel 95 Standard Edition
 * Microsoft Excel 5.0 Standard Edition

-



This article was previously published under Q110236





SYMPTOMS
If you activate an object linking and embedding (OLE) 2.0 object in the client application (the application the object is embedded in) while the server application (the application you used to create the object) is running, you will not be able to switch to or quit the server application while a dialog box is open in the activated object.

For example, if you activate a Microsoft Excel Worksheet object in a Microsoft Word for Windows document while Microsoft Excel is running, you will not be able to switch to or quit Microsoft Excel while a dialog box is open in the activated Microsoft Excel Worksheet object.

This behavior occurs only when you activate the embedded object while the server application is running.



CAUSE
This behavior is by design. When you activate an embedded OLE 2.0 object, the menus and toolbars of the server application replace those of the client application. The server application does not have to be running when you activate an embedded object. However, when you activate the embedded OLE 2.0 object while the server application is running, that instance of the server application is used for the toolbars and menus, and you will not be able to switch to or exit the server while a dialog box is open in the activated object.



WORKAROUND
To switch to or quit the server application while you are editing an object that you created using that application, close the dialog box in the activated object.



MORE INFORMATION
To avoid this behavior, make sure there are no instances of the application you used to create the object running before you activate the object. Once you activate the object, you can start, switch to, and quit the server application even if a dialog box is open in the activated object.

Additional query words: officeinterop insitu XL

Keywords: KB110236

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.