Microsoft KB Archive/316822

From BetaArchive Wiki

Article ID: 316822

Article Last Modified on 2/19/2002



APPLIES TO

  • Microsoft Visual FoxPro 7.0 Professional Edition



This article was previously published under Q316822

SYMPTOMS

When you use the wildcard combination of a closing square bracket and an asterisk (]*) in the Visual FoxPro 7.0 Find dialog box, the following error may occur:

Fatal error: Exception code=C0000005


This error does not occur when you search forward. The error occurs after you click to select the Search Backward check box and then begin to search again.

Note that to use wildcards successfully to search for data, you must click to select the Use Wildcards check box.

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.

MORE INFORMATION

Steps to Reproduce Behavior

  1. Create a program (.prg) file and type the following phrase in it:

    This search will use wildcards to search for the word error and generate an exception error.
                        
  2. On the Edit menu, click Find. Click to select the Use Wildcards check box and then type the following in the Look For box of the Find window:

    [e]*ror
  3. Click the Find button twice, and then click to select the Search Backward check box.
  4. Click Find again. The error occurs after a few seconds.



Additional query words: kbVFP700sp1fix

Keywords: kbbug kbfix KB316822