HighTechTalks DotNet Forums  

WinRes V2 Problem with DataSet On Form

Dotnet Internationalization microsoft.public.dotnet.internationalization


Discuss WinRes V2 Problem with DataSet On Form in the Dotnet Internationalization forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
James Hancock
 
Posts: n/a

Default WinRes V2 Problem with DataSet On Form - 10-02-2006 , 10:27 AM






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!


Reply With Quote
  #2  
Old   
Garrett McGowan [MSFT]
 
Posts: n/a

Default RE: WinRes V2 Problem with DataSet On Form - 10-17-2006 , 06:26 PM






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

--------------------
Quote:
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
Quote:
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



Reply With Quote
  #3  
Old   
James Hancock
 
Posts: n/a

Default Re: WinRes V2 Problem with DataSet On Form - 10-18-2006 , 04:32 PM



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

Quote:
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



Reply With Quote
  #4  
Old   
Aldo Donetti [MS]
 
Posts: n/a

Default Re: WinRes V2 Problem with DataSet On Form - 11-21-2006 , 10:46 PM



Hi James, there must be something else. I have tried creating a Form with a DatagridView, a Dataset, a TableAdapter and aBindingSource and I get a warning on both the DataSet and the TableAdapter but I can
still open the form. (and my objects have German charachters in their names, so they are not like TableAdapter1 or so). I'm not sure I can help you more than this if I don't get to reproduce the problem.
One thing you could do, is to go to the Connect site and directly open a bug there <http://connect.microsoft.com/> - someone would look at it for sure.

Aldo

-- This posting is provided "AS IS" with no warranties, and confers no rights.


--------------------
Quote:
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






Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.