Microsoft KB Archive/114346

= BUG: ALT+TAB Hangs MDI App with Activated OLE 2.0 Server =

Article ID: 114346

Article Last Modified on 10/29/2003

-

APPLIES TO


 * Microsoft Visual Basic 3.0 Professional Edition
 * Microsoft Visual Basic 3.0 Professional Edition

-



This article was previously published under Q114346



SYMPTOMS
The ALT+TAB keystroke combination may cause the computer to hang (stop responding to input) when an MDI application is an activated OLE 2.0 server in the MSOLE2.VBX control. It may also cause a general protection (GP) fault.



CAUSE
This problem is caused by MSOLE2.VBX when interpreting the menu negotiation protocol of some server applications.



WORKAROUND
The only way to work around this is to use the OLE control on a non-MDI form.



STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.



Steps to Reproduce
 Start a new project in Visual Basic. Form1 is created by default. Add a new MDI form (MDIForm1). Make Form1 an MDI Child by setting the MDIChild property to true. Add an OLE2 control to Form1. Embed a new Word version 6.0 Document when the insert object dialog comes up. Make MDIForm1 the start up form. From the Options menu, choose Project... and then Start Up Form. Select MDIForm1.</li>  Add the following code to the MDIForm1 Load event: MDIForm1.Show Form1.Show Form1!Ole1.Action = 7 </li> Save the project.</li> Make an EXE from the project.</li> Run the EXE with all other applications shut down.</li> Press ALT+TAB. The computer will lock up (hang).</li></ol>

Additional query words: buglist3.00 freeze switch task GPF 3.00

Keywords: kbbug KB114346

-

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

© Microsoft Corporation. All rights reserved.