Microsoft KB Archive/129838

= BUG: GPF in Excel After Using Excel Spreadsheet in OLE Control =

Article ID: 129838

Article Last Modified on 12/9/2003

-

APPLIES TO


 * Microsoft Visual Basic 4.0 Standard Edition
 * Microsoft Visual Basic 4.0 Professional Edition
 * Microsoft Visual Basic 4.0 Professional Edition
 * Microsoft Visual Basic 4.0 16-bit Enterprise Edition
 * Microsoft Visual Basic 4.0 32-Bit Enterprise Edition
 * Microsoft Excel 5.0 Standard Edition

-



This article was previously published under Q129838



SYMPTOMS
A General Protection Fault (GPF) occurs at different addresses in segment 0014 in EXCEL.EXE when the Visual Basic environment is closed after manipulating an OLE client control that contains an embedded Microsoft Excel spreadsheet.



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 Problem

 * 1) Start a new project in Visual Basic. Form1 is created by default.
 * 2) Add an OLE client control to the form.
 * 3) When the Insert Object dialog appears, select Create from File. Then specify any valid .XLS file, and click OK.
 * 4) Using the mouse, right-click the control, select Open. When Microsoft Excel opens, choose Exit from the File menul.
 * 5) Using the mouse, right-click the control, select Edit. Press the ESC key to deactivate the OLE client control.
 * 6) Using the mouse, right-click the control, select Open.
 * 7) In Visual Basic, choose Exit from the File menu.

At this point, a GP fault occurs in EXCEL.EXE at different offset addresses in segment 0014.

Keywords: kbbug kbprogramming KB129838

-

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

© Microsoft Corporation. All rights reserved.