Microsoft KB Archive/161055

= Property sheet changes cause "illegal operation" error message in Visual FoxPro for Windows 5.0 =

Article ID: 161055

Article Last Modified on 2/16/2005

-

APPLIES TO


 * Microsoft Visual FoxPro 5.0 Standard Edition

-



This article was previously published under Q161055



SYMPTOMS
After printing a report, changing a setting in the Property sheet causes Visual FoxPro 5.0 to terminate. In Windows 95, the following error results:

This program has performed an illegal operation and will be shut down.

Pressing the Details button reveals the following message:

VFP caused an invalid page fault in module VFP.EXE at.

This error does not occur when the report is previewed rather than printed.



STATUS
Microsoft 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.0a.



Steps to Reproduce Behavior
  Type the following commands into the Command window: CREATE REPORT Test from HOME+ "Labels" MODI REPORT Test   Minimize the Report Designer and issue the following command to print one record: REPORT FORM Test NEXT 1 TO PRINTER  After the report prints, maximize the Report Designer, right-click and open the DataEnvironment of the report. Right-click again to open the Properties sheet. In the Properties sheet, change the name of the DataEnvironment to "datatest" (without the quotation marks), and press the up arrow key. An "Invalid Page Fault" occurs.

Keywords: kbbug kbfix kbvfp500afix kbprogramming KB161055

-

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

© Microsoft Corporation. All rights reserved.