FIX: GETDIR() on Empty Floppy Drive Causes Crash
Article ID: 159473
Article Last Modified on 10/16/2002
APPLIES TO
- Microsoft Visual FoxPro 5.0 Standard Edition
This article was previously published under Q159473
SYMPTOMS
In Visual FoxPro 5.0, issuing a GETDIR() command on a drive that does not
contain a disk results in the following error:
This program has performed an illegal operation and will be shut down.
WORKAROUND
Use Foxtools.fll and the ISDISKIN function to check for a disk in the drive
prior to issuing the GETDIR() command.
STATUS
Microsoft has confirmed this to be a problem in the Microsoft products
listed at the beginning of this article. This problem has been fixed in
Visual FoxPro 5.0a.
REFERENCES
For more information about using ISDISKIN please see the following
article(s) in the Microsoft Knowledge Base:
125372 How To Check for a Floppy Disk Using FOXTOOLS
Keywords: kbbug kbfix kbvfp500afix kbenv KB159473