|
||||||
| ASP, ASP.NET and Coldfusion Microsoft's Web Development Language (ASP/ASP.NET) and Coldfusion discussion |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
![]() 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. Last edited by JO90; 11-15-2007 at 04:33 PM. |
| Sponsored Links |
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Global warming | target7 | The Lounge | 7 | 08-22-2007 11:32 AM |
| How to create a XML file at the server side? | shannelleng | ASP, ASP.NET and Coldfusion | 8 | 08-12-2007 03:27 AM |
| create e-book compiler | pcdctr | General Programming | 8 | 05-23-2007 06:26 AM |
| Create pluggin with Java | nilshv | Java Help | 0 | 04-08-2007 09:27 AM |
| Create a ripple effect | ahsan16 | Photoshop Tutorials | 6 | 01-11-2007 10:55 AM |