Microsoft KB Archive/90907

= Problem with FD.EXE, Project File, and Directory Name with &quot;.&quot; =

PSS ID Number: 90907

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 Q90907



SYMPTOMS
In FD.EXE, do not try to use a project file in a directory that uses a period (.) in its name (for example, c:\temp.one\...). Unexpected project names will be referenced and used.



WORKAROUND
To work around this problem, do not put projects in directories that contain a period in their name.



STATUS
Microsoft has confirmed this to be a bug in 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. For example:

md c:\temp.one

 Copy your project file into that directory. Start VBDOS.EXE. From the File menu, choose Load Project. Press SHIFT+F12, and then press the ENTER key to view your form. Add a command button.</li> From the File menu, choose Exit. When you are prompted to save changes, choose No.

The error message &quot;File not found&quot; is incorrectly returned. The project window is now named &quot;Project&quot; instead of the name of your project file, but your form is still loaded.</li> Repeat the above scenario, but this time choose Yes to save the changes.</li></ol>

The project Window is now named TEMP. There is a file called TEMP.MAK in the root directory. This new project file even has all the right paths to your forms.

The problem relates to how FD.EXE is reading the path string. It does not account for this nonstandard type of directory name.

Additional query words: VBmsdos buglist1.00 1.00

Keywords: KB90907

Technology: kbAudDeveloper kbVB100DOS kbVBSearch kbZNotKeyword3

-

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

© 2004 Microsoft Corporation. All rights reserved.