File Not Found When Directory Name Contains Period

ID: Q94786


The information in this article applies to:
  • Microsoft Visual Basic Standard and Professional Editions for MS-DOS, version 1.0


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 "File not found" 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.


MORE INFORMATION

Steps to Reproduce Problem

  1. Create a directory off the root directory that contains a period in its name. Use the following MS-DOS command line:
    MKDIR \TEST.DIR


  2. Copy the Calculator sample program and all related files to the new directory by using the following MS-DOS command:
    COPY CALC.* \TEST.DIR


  3. Start VBDOS.EXE.


  4. From the File menu, choose File Open Project and select the Calculator project in the directory TEST.DIR.


  5. Press SHIFT+F12 and choose to modify the form CALC.FRM.


  6. From the File menu of the Forms Designer, choose Exit.


This results in an incorrect "File not found" 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 :
Version : MS-DOS:1.0
Platform : MS-DOS
Issue type :


Last Reviewed: December 10, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.