PRB: Cannot Quit VFP End Task Causes Application Error (193502)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 3.0, when used with:
- the operating system: Microsoft Windows NT
- the operating system: Microsoft Windows 95
- the operating system: Microsoft Windows 98
- Microsoft Visual FoxPro for Windows 3.0b, when used with:
- the operating system: Microsoft Windows NT
- the operating system: Microsoft Windows 95
- the operating system: Microsoft Windows 98
- Microsoft Visual FoxPro for Windows 5.0, when used with:
- the operating system: Microsoft Windows NT
- the operating system: Microsoft Windows 95
- the operating system: Microsoft Windows 98
- Microsoft Visual FoxPro for Windows 5.0a, when used with:
- the operating system: Microsoft Windows NT
- the operating system: Microsoft Windows 95
- the operating system: Microsoft Windows 98
This article was previously published under Q193502 SYMPTOMS
Running a Visual FoxPro form through a READ EVENTS command without a CLEAR
EVENTS command, produces an error dialog box, which contains an OK button.
The following text displays in the error dialog box:
Cannot Quit Visual FoxPro
If the OK button is not selected and the error dialog box remains on the
Visual FoxPro screen, when End Task is selected from the Task Manager, one
of the following system errors appear (depending on the version of the
operating system):
- In Windows 95, and in Windows 98, using Visual FoxPro 5.0x,
the following error displays:
This program has performed an illegal operation and will be shut
down.
Clicking the Details button reveals the following message:
VFP caused an invalid page fault in module <unknown>
at <memory address>. - In Windows 95 and in Windows 98, using Visual FoxPro 6.0,
the following error appears:
This program has performed an illegal operation and will be shut
down.
Clicking the Details button reveals the following message:
VFP caused an invalid page fault in module KERNEL32.DLL
at <memory address>. - In Windows NT 4.0, using Visual FoxPro 5.0x, the following error
appears:
An application error has occurred and an application error log is
being generated.
VFP.exe
Exception: access violation <error number>, Address: <memory
address>. - In Windows NT 4.0, using Visual FoxPro 6.0, the problem does not occur.
CAUSE
Not clearing the "Cannot Quit Visual FoxPro" error dialog box by selecting
the OK button prior to selecting End Task from the Task Manager.
RESOLUTION
Clear the "Cannot Quit Visual FoxPro" error dialog box by selecting the OK
button prior to using End Task and the error does not occur.
STATUS
Microsoft is researching this problem and will post new information here in
the Microsoft Knowledge Base as it becomes available.
REFERENCES
For more information, please see the following article in the Microsoft
Knowledge Base: 172455
SAMPLE: Exitfox.exe Overcomes "Cannot Quit Visual FoxPro" Error
(c) Microsoft Corporation 1998. All Rights Reserved. Contributions by Perry
Newton, Microsoft Corporation.
Modification Type: | Major | Last Reviewed: | 5/12/2003 |
---|
Keywords: | kbBug kbprb kbvfp600fix kbXBase KB193502 kbAudDeveloper |
---|
|