:confused::cool:I want to write a "Global application", with strings that show on the webForm, according to the Culture of the user. {country they belong to}
I created a Web site.[Called 'KOP'] , I added a web Form.[called 'ZX.aspx']
I added a TextBox called 'TB1'.
I added a .resx[file] called APP.resx
I added another one called APP.en-US.resx [with strings in English]
I added another one called APP.it-IT [with strings in Italian]
I added 1 string in the GRID[of APP.resx] THAT SHOWS. [(NAME=)JO (value=)Bravo]
I added 1 string in the GRID[of APP.en-US.resx] THAT SHOWS. [(NAME=)JO (value=)INTELLIGENT]
I added 1 string in the GRID[of APP.it-IT.resx] THAT SHOWS. [(NAME=)JO (value=)Intelligente]
Then I wrote this code inside the PageLoad of my ZX.aspx[ [webForm]:
Dim QQ As ResourceManager = New ResourceManager("KOP.APP", GetType(ZX).Assembly)
TB1.Text = QQ.GetString("JO")
Now , when I run the WebForm a RunTime ERROR says:
"
Could not find any resources appropriate for the specified culture or the neutral culture. Make sure "CULTUREInfoClass.AppStrings.resources" was correctly embedded or linked into assembly "App_Web_b1eu8ty0" at compile time, or that all the satellite assemblies required are loadable and fully signed. "
What shall I do ?
I think there is No mistake in my procedure but the RunTime cannot find 'JO' [string].
EXPERTS of Globalization & localization
HELP HELP.
If I used this SAME procedure with a windowApplication It works......But in a webApplication it Does not. The CLR cannot find resouces[JO] ....Why ??
HELP experts.
Create a GLOBAL WebAPPLICATION ... HELP
Started by
Guest_JO90_*
, Nov 15 2007 02:30 PM
No replies to this topic
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account

Guest_JO90_*
Back to top









