|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
How to get localized project resources in VB.Net 2005project ressources (not form ressources, these were in the individual forms). I had two files MyProjectResources.resx and MyProjectResources.fr.resx, they were in the project folder topgether with all the forms and other files. The clas that worked fine in Vs2003 no longer works in Vs2003. It gives me a nothing value whenever I try to get a ressource string from the above resource files and I know that the values passed to the class and used by it are correct, it just won't work. I noticed that in My project there is a file resource.resx and an associated designer. So I figure that if I want to localize the project in 2005 for french I need to add a file resource.fr.resx to the My project folder but I seem to be unable to do so. I guess that if that worked I could the MY.resources and I would be getting the correctly localized string back to put in message boxes and the like. Am I right? If so how do I do this in Vs2005? Thanks for any help Bob "Bob" <bduf***@sgiims.com> schrieb: Yes, this should work. Simply add additional resource files and name them > So I figure that if I want to localize the project in 2005 for french > I need to add a file resource.fr.resx to the My project > folder but I seem to be unable to do so. I guess that if that worked I > could the MY.resources and I would be getting the correctly localized > string back to put in message boxes and the like. Am I right? If so how do > I do this in Vs2005? "resources.fr.resx", and 'My.Resources' will return the string depending on the thread's current culture. -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/>
Adding row to table
Timer Component for VB 2005 .aspx page? XML Encoding woes... XY coordinates on form Attempted to read or write protected memory. dll vs vb 2005 Numeric / Currency control Exposing a .Net assembly to both VB6 and .Net (1 more time) InvalidCastException in DataRow webbrowser control to submit form Read data directly from a textbox and insert into a table |
|||||||||||||||||||||||