PRB: Using Reserved Name as Filename Launches Converter

Last reviewed: November 9, 1995
Article ID: Q138967
The information in this article applies to:
  • Microsoft Visual FoxPro for Windows, version 3.0

SYMPTOMS

In Visual FoxPro, a converter is launched if you create a new form by using the MODIFY FORM command or create a new report by using the MODIFY REPORT command, and you use a reserved device name such as COM1, COM2, LPT1, or LPT2 as the name. Clicking the Continue button in the Converter dialog box to bring up the next dialog box, clicking the Yes button, and then pressing the ESC key may cause an Illegal Operation, termination of FoxPro, or cause the computer to hang (stop responding).

RESOLUTION

Do not use a reserved device name as a filename.

STATUS

This behavior is by design.

MORE INFORMATION

When you create a new form or report by clicking New on the File menu, and then try to save it to a reserved device name, the correct error message appears:

   The filename is a reserved device name. Use a different filename.

Steps to Reproduce Behavior

  1. In the Command window, type:

    Modify Report com1.

    The report Converter launches.

  2. Click the Continue button to enter the next dialog box.

  3. Click Yes.

  4. Press the ESC key. An illegal operation is reported and FoxPro terminates.


Additional reference words: 3.00 VFoxWin
KBCategory: kbprg kbprb
KBSubcategory: FxotherGeneral


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: November 9, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.