Microsoft KB Archive/193474

= Developer Studio cannot create files with no name extension =

Article ID: 193474

Article Last Modified on 1/20/2006

-

APPLIES TO


 * Microsoft Visual Studio 97 Service Pack 3
 * Microsoft Visual C++ 5.0 Enterprise Edition
 * Microsoft Visual C++ 6.0 Enterprise Edition
 * Microsoft Visual C++ 5.0 Professional Edition
 * Microsoft Visual C++ 6.0 Professional Edition
 * Microsoft Visual C++ 6.0 Standard Edition
 * Microsoft Visual C++ 2005 Express Edition
 * Microsoft Visual C++ .NET 2003 Standard Edition
 * Microsoft Visual C++ .NET 2002 Standard Edition
 * Microsoft Visual InterDev 1.0 Standard Edition
 * Microsoft Visual Studio 2005 Professional Edition
 * Microsoft Visual Studio 2005 Standard Edition

-



This article was previously published under Q193474



SYMPTOMS
After creating a new file in the Developer Studio shell MSDev.exe or Devenv.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".
 * 1) 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.

Keywords: kbide kbdevstudio kbprb kbdsstools kbvs2005applies kbvs2005swept KB193474

-

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

© Microsoft Corporation. All rights reserved.