Microsoft KB Archive/289810

= BUG: Right-Clicking Close Button May Cause VFP to Shut Down =

Article ID: 289810

Article Last Modified on 10/15/2002

-

APPLIES TO


 * Microsoft Visual FoxPro 6.0 Professional Edition

-



This article was previously published under Q289810



SYMPTOMS
When you right-click and then left-click the Close button of the Code window or a window that is created with a MODIFY MEMO command, Visual FoxPro may report one of the following errors.

In Microsoft Windows Millennium Edition (Me):

VFP6 has caused an error in VFP6.exe VFP 6.0 will now close.

In Microsoft Windows 2000:

VFP has generated errors and will be closed by Windows. You will need to restart the program. An error log is being created.

In Microsoft Windows NT 4.0:

An application error has occurred and an application error log is being generated.

VFP6.exe

Exception access violation (0xc0000005), address:



RESOLUTION
If you are using a MODIFY MEMO command to display the contents of a memo field, use an edit box object in a form instead.



STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.



Steps to Reproduce Behavior
  In the Command window, type the following: MODI COMM Test  Click the Close button with the right mouse button, and then click the Close button with the left mouse button.

-or-

  In the Command window, type the following: USE Home(2)+&quot;data\employee&quot; MODI MEMO Notes  Click the Close button with the right mouse button, and then click the Close button with the left mouse button.</ol>

Additional query words: crash exit

Keywords: kbbug kbcodesnippet KB289810

-

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

© Microsoft Corporation. All rights reserved.