Microsoft KB Archive/129169

= PRB: Excel Chart Wizard Crashes When Accessed from a Form =

Article ID: 129169

Article Last Modified on 2/12/2000

-

APPLIES TO


 * Microsoft Visual FoxPro 3.0 Standard Edition

-



This article was previously published under Q129169



SYMPTOMS
When the user double-clicks an embedded Excel Chart object in an OLE Container object on a form, and then uses the Excel Chart Wizard to modify that chart, the system returns an Excel "error" dialog stating that "an error has occurred in your program..." and giving you the options to "Close" and "Ignore."

This behavior occurs when using Windows version 3.11 or Windows for Workgroups version 3.11, and the behavior has been observed occasionally in Windows NT release 3.5 for workstations.



STATUS
This is not a bug in FoxPro. It appears to be a problem in Excel. Microsoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.



Steps to Reproduce Behavior
  In the Command window, type: MODIFY FORM Testchrt  Place an OLE Container Control on the form. From "Insert Object" dialog, select Excel 5.0 chart. Save the form.  Run the form by entering the following in the Command window: DO FORM Testchrt  Double-click the embedded Excel chart.</li> From Excel's bar of tools, select Chart Wizard. In step 1 of the Chart' Wizard, you select the "Range." Click anywhere in the Range text editing box. At this point, an error dialog box appears stating "An error has occurred in your application. If you choose Ignore, you should save your work in a new file. If you choose Close, your application will terminate."</li> Choose the "Close" option. If you're using Win32S in Windows 3.11 or Windows for Workgroups 3.11, the next dialog box will advise that "Excel caused a General Protection Fault in module EXCEL.EXE ..."</li></ol>

Additional query words: VFoxWin graph chart error general protection OLE Win32s 3.00

Keywords: KB129169

-

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

© Microsoft Corporation. All rights reserved.