PRB: Developer Studio Cannot Create Files w/ No Name Extension

ID: Q193474


The information in this article applies to:
  • Microsoft Visual Studio 97
  • Microsoft Visual C++, 32-bit Editions, versions 5.0, 6.0
  • Microsoft Visual InterDev, version 1.0


SYMPTOMS

After creating a new file in the Developer Studio shell MSDev.exe, you cannot name it with a file name that does not have an extension.


RESOLUTION

After you save the new file in Developer Studio, close the file, rename it using Windows Explorer (or another technique), and then open it again.


STATUS

This behavior is by design.


MORE INFORMATION

Microsoft Windows Explorer uses file name extensions to determine the application that created the file. The file name extension is the portion of the file name following the final period "." in the name. In Windows Explorer, double-clicking a file name starts the application associated with the extension.

One of the Logo requirements for applications designed for Microsoft Windows operating systems is that they create data files with appropriate file name extensions.

Steps to Reproduce Behavior

  1. From the File menu in Developer Studio, click New and then click the Files tab.


  2. In the Files list, select Text File. Click OK without entering a file name.


  3. Type a character into the new file.


  4. From the File menu, click Save As. In the File name box, type "MyFile" (or any unique name). Click Save.

    NOTE: The file name appears on the open window as "MyFile.txt".


  5. From the File menu, click Save As. In the File name box, type "MyFile." .

    NOTE: The file name now appears as "MyFile..txt".


The same effect occurs with different extensions for the other file types that appear in the Files list when you click New in the File menu.

Additional query words:

Keywords : kbide kbVC500bug kbVC600bug kbVisID100bug kbVS97bug kbDevStudio
Version :
Platform :
Issue type : kbprb


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