B
Bill
Hi Everyone,
I am having some difficulty in using the Windows Resource Localization
Editor (WinRes.exe) on several Visual Basic .NET forms (.resx files) in two
different projects. The editor gives an error when loading the .resx files.
When attempting to load a .resx file using WinRes under Visual Studio .NET
2003, the following error is displayed in the client area of the editor:
"An error occurred while loading the document. Fix the error, and then try
loading the document again. The error message follows: Object reference
not set to an instance of an object."
When attempting to load the same .resx file using WinRes under Visual Studio
2005, the following errors are displayed in the status area of the tool:
"Warning: Failed to load the type for component 'dsCustomer'.
Warning: Failed to load the type for component 'Titles1'.
Error - The data name 'dsCustomer' is invalid. Valid data names must be of
the form 'Component.Property'.
Error - The data name 'dsCustomer' is invalid. Valid data names must be of
the form 'Component.Property'.
Error - The data name 'Titles1' is invalid. Valid data names must be of the
form 'Component.Property'.
Error - The data name 'Titles1' is invalid. Valid data names must be of the
form 'Component.Property'."
The 'dsCustomer' and 'Titles1' are data sets (DataSet objects). It seems
that all forms that have data sets have this issue with the localization
editor.
Does anyone have an idea how to solve or work around this problem? I need a
solution using Visual Studio 2003, not VS 2005.
Thank You.
I am having some difficulty in using the Windows Resource Localization
Editor (WinRes.exe) on several Visual Basic .NET forms (.resx files) in two
different projects. The editor gives an error when loading the .resx files.
When attempting to load a .resx file using WinRes under Visual Studio .NET
2003, the following error is displayed in the client area of the editor:
"An error occurred while loading the document. Fix the error, and then try
loading the document again. The error message follows: Object reference
not set to an instance of an object."
When attempting to load the same .resx file using WinRes under Visual Studio
2005, the following errors are displayed in the status area of the tool:
"Warning: Failed to load the type for component 'dsCustomer'.
Warning: Failed to load the type for component 'Titles1'.
Error - The data name 'dsCustomer' is invalid. Valid data names must be of
the form 'Component.Property'.
Error - The data name 'dsCustomer' is invalid. Valid data names must be of
the form 'Component.Property'.
Error - The data name 'Titles1' is invalid. Valid data names must be of the
form 'Component.Property'.
Error - The data name 'Titles1' is invalid. Valid data names must be of the
form 'Component.Property'."
The 'dsCustomer' and 'Titles1' are data sets (DataSet objects). It seems
that all forms that have data sets have this issue with the localization
editor.
Does anyone have an idea how to solve or work around this problem? I need a
solution using Visual Studio 2003, not VS 2005.
Thank You.