FIX: Copy/Paste Causes GP Fault w/Worksheet Created by COPY TOLast reviewed: February 20, 1997Article ID: Q141355 |
The information in this article applies to:
SYMPTOMSA general protection (GP) fault may occur when you try to paste a range of cells copied from a worksheet that you originally created from a table in Visual FoxPro. The error states:
This program has performed an illegal operation and will be shut down. If the problem persists, contact the program vendor.The details state:
EXCEL caused an invalid page fault in module EXCEL.EXE at 01737:5014a2f8. CAUSEThis error occurs when the following conditions exist:
WORKAROUNDThere are two workarounds for this problem.
Method 1To create the .xls file in Visual FoxPro, use the COPY TO command in the following form:
COPY TO filename TYPE XLSrather than:
COPY TO filename TYPE XL5 Method 2After using the COPY TO command with the TYPE XL5 clause to create a Microsoft Excel worksheet, use only Microsoft Excel version 5.0 to open the resulting worksheet.
STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem has been fixed in Visual FoxPro 5.0 for Windows.
MORE INFORMATIONMicrosoft Excel version 7.0 for Windows was not available when Visual FoxPro for Windows was released.
Steps to Reproduce Problem
|
KBCategory: kbinterop kbbuglist kbfixlist
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |