BUG: You receive error messages when you add a new String Table resource to a Visual C++ .NET project and then you try to save or to build the project (836733)
The information in this article applies to:
- Microsoft Visual C++ .NET (2003)
- Microsoft Visual C++ .NET (2002)
SYMPTOMSWhen you add a new String Table resource to a Microsoft Visual C++ .NET project and then you try to save or
to build the project, you may receive the following error message: Resource data is invalid. Unable to save resource script. When you click
OK, you receive the following error message: Cannot save file.
FilePath Note In this error message,
FilePath is a placeholder for the file path of your
resource (.rc) file. You may receive these error messages when you add a new String Table resource to a project that uses a resource file. Projects that use resource files include the following: - Windows Forms Application (.NET) projects in Microsoft Visual C++ .NET 2003
- MFC Application projects in Microsoft Visual C++ .NET 2003 or in Microsoft Visual C++ .NET 2002
- MFC DLL projects in Microsoft Visual C++ .NET 2003 or in Microsoft Visual C++ .NET 2002
RESOLUTIONTo resolve this bug, add at least one entry in the String Table resource before you save or build the project. To do this, follow these
steps:
- Click
the Resource View tab, and then double-click the new String Table icon.
- In the resource editor, click the String Table row in the
Caption column.
- Type a string in the Caption column, and then press ENTER.
- Press CTRL+SHIFT+S to save the
project or press CTRL+SHIFT+B to build the
project.
The project is successfully saved or built.
STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are
listed at the beginning of this article.
Modification Type: | Minor | Last Reviewed: | 1/18/2006 |
---|
Keywords: | kbWindowsForms kbtable kbString kbResource kbide kbForms kberrmsg kbbug KB836733 kbAudDeveloper |
---|
|