Knowledge Base

DOC: Passing GETFILE() a Semicolon Won't Work in Windows 95

Article ID: 139127

Article Last Modified on 2/11/2000


APPLIES TO


This article was previously published under Q139127

SUMMARY

The Visual FoxPro Help file entry for GETFILE() states:

If cFileExtensions contains just a semicolon (;), all files without an extension are displayed.

This is not true if Visual FoxPro is running on a computer equipped with Windows 95.

This documentation error has been fixed in Visual FoxPro 5.0 for Windows.

MORE INFORMATION

If you issue the following command in the Command window:
   ?GETFILE(;)
				
the following error occurs:
Function name is missing ).
If you issue the following command in the Command window:
   ?GETFILE(';')
				
the Open dialog box lists all files except those with no extension.

However, if you issue the following command in Windows 3.x, Windows for Workgroups 3.x, or Windows NT 3.5x, the parameter is evaluated to *. and works as documented:
   ?GETFILE(';')
				

Additional query words: 5.00 docerr

Keywords: kbdocfix KB139127