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

Last reviewed: February 20, 1997
Article ID: Q139127
The information in this article applies to:
  • Microsoft Visual FoxPro for Windows, version 3.0

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(';')


KBCategory: kbprg kbdocerr kbdocfix
KBSubcategory: FxotherDochelp VFoxWin
Additional reference words: 3.00 5.00 docerr


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: February 20, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.