Microsoft KB Archive/94786

= File Not Found When Directory Name Contains Period =

PSS ID Number: 94786

Article Last Modified on 1/9/2003

-

The information in this article applies to:


 * Microsoft Visual Basic for MS-DOS 1.0

-



This article was previously published under Q94786



SYMPTOMS
The Forms Designer has trouble dealing with directory names that contain periods. If your project is in a directory name that contains a period, such as TEST.DIR, then you may get a &quot;File not found&quot; error when switching between the Forms Designer and the interpreter environment (VBDOS.EXE). You also may encounter problems such as your Project file (.MAK) not being updated as well as other problems described below.



WORKAROUND
To work around these problems, don't use periods in directory names.



STATUS
Microsoft has confirmed this to be a bug in the Standard and Professional Editions of Microsoft Visual Basic for MS-DOS, version 1.0. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.



Steps to Reproduce Problem
 Create a directory off the root directory that contains a period in its name. Use the following MS-DOS command line:

MKDIR \TEST.DIR

 Copy the Calculator sample program and all related files to the new directory by using the following MS-DOS command:

COPY CALC.* \TEST.DIR

 Start VBDOS.EXE. From the File menu, choose File Open Project and select the Calculator project in the directory TEST.DIR. Press SHIFT+F12 and choose to modify the form CALC.FRM. From the File menu of the Forms Designer, choose Exit.</li></ol>

This results in an incorrect &quot;File not found&quot; error, and the title of the Project window in VBDOS.EXE changes to Project. If you make changes to CALC.FRM in the Forms Designer and then save the changes before going back to VBDOS.EXE, a new Project file is created in the root directory called TEST.MAK that contains the name of all the files in your project.

Additional query words: VBmsdos buglist1.00 1.00

Keywords: KB94786

Technology: kbAudDeveloper kbVB100DOS kbVBSearch kbZNotKeyword3

-

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

© 2004 Microsoft Corporation. All rights reserved.