Microsoft KB Archive/138967

= PRB: Using Reserved Name as Filename Launches Converter =

Article ID: 138967

Article Last Modified on 2/11/2000

-

APPLIES TO


 * Microsoft Visual FoxPro 3.0 Standard Edition

-



This article was previously published under Q138967



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
 In the Command window, type:

Modify Report com1.

The report Converter launches.

 Click the Continue button to enter the next dialog box. Click Yes. Press the ESC key. An illegal operation is reported and FoxPro terminates.

Additional query words: VFoxWin

Keywords: KB138967

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.