BUG: WinRes 1.1 changes the ComboBox object collection data names in Visual Studio .NET 2003 (825403)
The information in this article applies to:
- Microsoft Visual Studio .NET (2003), Professional Edition
- Microsoft Visual Studio .NET (2003), Enterprise Developer Edition
- Microsoft Visual Studio .NET (2003), Enterprise Architect Edition
- Microsoft Visual Studio .NET (2003), Academic Edition
SYMPTOMSIf the ComboBox object collection data names are modified, and the resource (.resx) file is saved to a culture-sensitive string operation, the collection data names are changed. CAUSEMicrosoft WinRes 1.1 is a Microsoft .NET software development kit (SDK) tool that localization specialists can
use to localize forms. WinRes 1.1 does not recognize strings, such as "EnglishString1", that are created by Microsoft Visual Studio .NET 2003 Form Editor. Therefore, WinRes 1.1 assumes that the ComboBox control was originally empty. The resources that WinRes 1.1 saves are also not compatible with the "InitializeComponent()" code that Visual Studio .NET 2003 generates and maintains for localized forms. Because WinRes 1.1 does not recognize strings, the default resources appear instead at run time.WORKAROUNDDo not pre-populate the ComboBox control or any other control that has items with localized strings. Instead, populate the ComboBox control or any other control that has items with localized strings at run time.STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed in the "Applies to" section.
Modification Type: | Minor | Last Reviewed: | 2/3/2006 |
---|
Keywords: | kbvs2005doesnotapply kbvs2005swept kbtshoot kbbug KB825403 kbAudDeveloper |
---|
|