![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
From: "James Hancock" <~james (AT) darwinproductions (DOT) net Subject: WinRes V2 Problem with DataSet On Form Date: Mon, 2 Oct 2006 10:27:58 -0400 Newsgroups: microsoft.public.dotnet.framework.windowsforms,mic rosoft.public.dotnet.inter |
|
Hey All, I'm trying to use WinRes to do localization into French from English. When I open the resx file I get the following error: Warning: Failed to load the type for component 'Details'. Error - Failed to load the resource due to the following error: System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.Tools.WinRes.ResourcesLoader.SetProperti es(IResourceReader resourceReader) at Microsoft.Tools.WinRes.ResourcesLoader.BeginLoad(I DesignerLoaderHost designerLoaderHost) "Details" is a dataset on the form. I've made sure that winres.exe is in the same directory as all of the dependancy DLLs because I was having problems with that, and the base forms that everything inherits from load just fine. It's just the DataSet issue that is causing it to stop before it loads any of the child form's controls (most of the components loaded). Anyone have any suggestions? Is there an updated WinRes somewhere that fixes this? I've tried it with Vs.net 2005 and Vs.net 2005 SP1 and still get the same problem. I've searched the net like crazy and can't find anything that really solves the problem just people saying "ya, that sucks, it's a known issue" without any resolution and I would have tghought that if there is a resolution that it would be in SP1 of Vs.net 2005.... Any help would be greatly appreciated! |
#3
| |||
| |||
|
|
I've seen a report similar to this one, though I don't know if a similar same solution will apply. This is the thread: http://forums.microsoft.com/MSDN/Sho...16188&SiteID=1 -------------------- From: "James Hancock" <~james (AT) darwinproductions (DOT) net Subject: WinRes V2 Problem with DataSet On Form Date: Mon, 2 Oct 2006 10:27:58 -0400 Newsgroups: microsoft.public.dotnet.framework.windowsforms,mic rosoft.public.dotnet.inter nationalization Hey All, I'm trying to use WinRes to do localization into French from English. When I open the resx file I get the following error: Warning: Failed to load the type for component 'Details'. Error - Failed to load the resource due to the following error: System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.Tools.WinRes.ResourcesLoader.SetProperti es(IResourceReader resourceReader) at Microsoft.Tools.WinRes.ResourcesLoader.BeginLoad(I DesignerLoaderHost designerLoaderHost) "Details" is a dataset on the form. I've made sure that winres.exe is in the same directory as all of the dependancy DLLs because I was having problems with that, and the base forms that everything inherits from load just fine. It's just the DataSet issue that is causing it to stop before it loads any of the child form's controls (most of the components loaded). Anyone have any suggestions? Is there an updated WinRes somewhere that fixes this? I've tried it with Vs.net 2005 and Vs.net 2005 SP1 and still get the same problem. I've searched the net like crazy and can't find anything that really solves the problem just people saying "ya, that sucks, it's a known issue" without any resolution and I would have tghought that if there is a resolution that it would be in SP1 of Vs.net 2005.... Any help would be greatly appreciated! Garrett McGowan [MSFT Developer International] This posting is provided "AS IS" with no warranties, and confers no rights. Use of included script samples are subject to the terms specified at http://www.microsoft.com/info/cpyright.htm |
#4
| |||
| |||
|
|
From: "James Hancock" <~james (AT) darwinproductions (DOT) net | Unfortunately this doesn't seem to work : Anyone have any ideas on how to localize a Winform with a data set on it and use WinRes? Thanks! "Garrett McGowan [MSFT]" <GarrMc (AT) online (DOT) microsoft.com> wrote in message news:x%232ROtj8GHA.4340 (AT) TK2MSFTNGXA01 (DOT) phx.gbl... I've seen a report similar to this one, though I don't know if a similar same solution will apply. This is the thread: http://forums.microsoft.com/MSDN/Sho...16188&SiteID=1 -------------------- From: "James Hancock" <~james (AT) darwinproductions (DOT) net Subject: WinRes V2 Problem with DataSet On Form Date: Mon, 2 Oct 2006 10:27:58 -0400 Newsgroups: microsoft.public.dotnet.framework.windowsforms,mic rosoft.public.dotnet.inter nationalization Hey All, I'm trying to use WinRes to do localization into French from English. When I open the resx file I get the following error: Warning: Failed to load the type for component 'Details'. Error - Failed to load the resource due to the following error: System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.Tools.WinRes.ResourcesLoader.SetProperti es(IResourceReader resourceReader) at Microsoft.Tools.WinRes.ResourcesLoader.BeginLoad(I DesignerLoaderHost designerLoaderHost) "Details" is a dataset on the form. I've made sure that winres.exe is in the same directory as all of the dependancy DLLs because I was having problems with that, and the base forms that everything inherits from load just fine. It's just the DataSet issue that is causing it to stop before it loads any of the child form's controls (most of the components loaded). Anyone have any suggestions? Is there an updated WinRes somewhere that fixes this? I've tried it with Vs.net 2005 and Vs.net 2005 SP1 and still get the same problem. I've searched the net like crazy and can't find anything that really solves the problem just people saying "ya, that sucks, it's a known issue" without any resolution and I would have tghought that if there is a resolution that it would be in SP1 of Vs.net 2005.... Any help would be greatly appreciated! Garrett McGowan [MSFT Developer International] This posting is provided "AS IS" with no warranties, and confers no rights. Use of included script samples are subject to the terms specified at http://www.microsoft.com/info/cpyright.htm |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |