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

ID: Q193474

The information in this article applies to:

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 that 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 that 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 
Issue type        : kbprb

Last Reviewed: October 2, 1998