473,388 Members | 1,234 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

problems with ResourceManager!! (multi-language system)

Hi,

I have a websystem (ASP.Net -VB) that uses a resourceManager to swicth
between 3 diferent languages.

Inside my network, My applicattion works very nice. But, when i try to run
outside my test network, it gives me a strange error , like this:

Could not find any resources appropriate for the specified culture (or the
neutral culture) in the given assembly. Make sure "visual.res.resources" was
correctly embedded or linked into assembly "Visual". baseName: visual.res
locationInfo: <null> resource file name: visual.res.resources assembly:
Visual, Version=1.0.1812.37629, Culture=neutral, PublicKeyToken=null
here comes my class:

Dim idioma As Integer =
HttpContext.Current.Request.Cookies("VisualLanguag e").Item("Lingua")
Dim cultura As String
Select Case idioma
Case 1
cultura = "pt-BR"
Case 2
cultura = "es-ES"
Case 3
cultura = "en-US"
End Select
Try
Dim objRm As New ResourceManager("visual.res", ClasseDoWebForm)
Thread.CurrentThread.CurrentUICulture = New CultureInfo(cultura)
'("en-US")
Return objRm.GetString(Objeto)
Catch ex As Exception
Throw ex
End Try

So, somebody can help to know what´s wrong ?

thks@!
Nov 19 '05 #1
0 1056

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Xavier | last post by:
Hello, I'd like to use MaxDB on Linux Red Hat 8.0. I've installed correctly the software. But when I try to create a new instance through the WebDBM or the WinDBM GUI I've the following error :...
0
by: Barry Munro | last post by:
Hi, I'm using the following code to print documents from the file system but i'm encountering strange behaviour. If I print one document it works ok but if i say loop round a list of files and...
1
by: Christian Christmann | last post by:
Hi, I have some problems with invoking a shell script out of a c++ program. The shell script is setting paths with "export PATH=/home/test/gcc/" . When within my program I use "string sysCall...
5
by: alexLIGO | last post by:
Hi, I am trying to run a python script that executes several other programs on the bash (under linux) and reads some of the output of those programs. This works fine for a couple of os.system()...
0
by: Dennis | last post by:
Greetings, I am having a wierd problem with .net accessing the clipboard on certain machines. The code copies the RTF formatted data from the clipboard. I first try and retrieve the clipboard...
0
by: Giovane Calabrese | last post by:
ok. im try to make a multilanguage system based on that tutorial : http://www.123aspx.com/redir.aspx?res=29112 in my aspx pages all text are in labels , and i want to take the name labels...
2
by: fabrice | last post by:
hello, I nedd help to create and use Library Satellite. I'm using Web Form under framework 1.1 and VB.NET I'm not using Visual Studio. I'd like to internationalize my web application with...
0
by: Nickneem | last post by:
I' m trying to disable all right mouse clicks by using the vbAccelerator Windows Hooks Library The small (systray / console) app. must catch all (right) mouseclicks before they are received by...
1
by: Jeff | last post by:
ASP.NET 2.0 I have a webproject using n-tier design. The DAL for Sql Server 2005 is placed in a separate class library project named SqlServer2005. I assume the folder name(DAL_SqlServer2005) in...
1
by: arun1985 | last post by:
resources = new System.Resources.ResourceManager("SharpWebMail", System.Reflection.Assembly.GetExecutingAssembly()); The resources are not getting loaded and i am getting the error when i access...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.