BUG: Right-Clicking Close Button May Cause VFP to Shut Down (289810)



The information in this article applies to:

  • Microsoft Visual FoxPro for Windows 6.0

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:<memory 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.

MORE INFORMATION

Steps to Reproduce Behavior

  1. In the Command window, type the following:
    MODI COMM Test
    					
  2. Click the Close button with the right mouse button, and then click the Close button with the left mouse button.

-or-

  1. In the Command window, type the following:
    USE Home(2)+"data\employee"
    MODI MEMO Notes
    					
  2. Click the Close button with the right mouse button, and then click the Close button with the left mouse button.

Modification Type:MajorLast Reviewed:10/15/2002
Keywords:kbBug kbCodeSnippet kbDSupport KB289810