Microsoft KB Archive/316807

= FIX: Fatal Error When You Select Properties from the Table Menu =

Article ID: 316807

Article Last Modified on 2/18/2002

-

APPLIES TO


 * Microsoft Visual FoxPro 7.0 Professional Edition
 * Microsoft Visual FoxPro 6.0 Professional Edition

-



This article was previously published under Q316807



SYMPTOMS
If you click Properties on the Table menu in Visual FoxPro while a Browse window is open, and the table does not belong to the current data session, the following errors may occur:

Fatal error: Exception code=C0000005

followed by:

The instruction at &quot;0x77e6e5dc&quot; referenced memory at &quot;0x00000000&quot;. The memory could not be &quot;written&quot;.

Note that these errors do not occur if another table receives focus before you click Properties.



RESOLUTION
To resolve this problem, obtain the latest service pack for Visual FoxPro for Windows 7.0. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

316964 How to Obtain the Latest Visual FoxPro for Windows 7.0 Service Pack



STATUS
Microsoft has confirmed that this is a problem in Microsoft Visual FoxPro for Windows 7.0. This problem was first corrected in Visual FoxPro for Windows 7.0 Service Pack 1.



Steps to Reproduce Behavior
  Paste the following code in a program file and then run the file: CREATE TABLE mytable (fld1 C(10)) INSERT INTO mytable (fld1) VALUES (&quot;Record one&quot;) USE

PUBLIC oForm

oForm = NEWOBJECT(&quot;myform&quot;)

DEFINE CLASS myform AS FORM DATASESSION=2

PROCEDURE INIT USE mytable BROWSE NOWAIT

ENDDEFINE  When the Browse window appears, click Properties on the Table menu.

Additional query words: kbVFP700sp1fix

Keywords: kbbug kbfix kbcodesnippet KB316807

-

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

© Microsoft Corporation. All rights reserved.