473,465 Members | 1,489 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

problem with using resourcemanager.getString()

Hi,
I m having a vb.net project in which

i created a default resource file Resource.resx as rightclick on
project Add Add new Item resource assembly file
In properties of project OutPut Type is Class Library
In Propeties of resource file Build Action is Embedded Resource
and in the strating function i m doin this

Public LocRM As ResourceManager
LocRM = New
ResourceManager("Resource",[Assembly].GetExecutingAssembly())

Try
str = LocRM.GetString("msg")
Catch err As MissingManifestResourceException
MsgBox("MissingManifestResourceException " & _
err.Message, , "Connect.vb")
End Try

LocRM.GetString is thowing Exception as
MissingManifestResourceException Could not find any resources
appropriate for the specified culture(or the neutral culture) in the
given assembly. Make sure "[projectname].resources" was correctly
embedded or linked into assembly "[projectname]"
basename: [projectname] locationInfo: <nullresource file name:
[projectname].resources assembly:
[projectname],version=1.0.2461.28014,culture=neutral,publickeyT oken=null

can any one can help me in figuring out where the problem is

Regards
Amit

Sep 28 '06 #1
0 1713

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

Similar topics

1
by: Martin Platt | last post by:
Guys! I've been playing about with some code trying to get the satellite assembly resource files to work. From what I understand you must have a fallback for a particular language, as well as...
4
by: Arif Çimen | last post by:
Hi to everybody, I have chnged a button text in design mode. But After compiling and executing the program the text of the button do not change to new value. Any Ideas? Thaks for helps.
0
by: Patrick | last post by:
Hi all, I have a very strange problem with my resource files. I have build an applicatie which uses resource files, but for some reason only the default language works as it should. I use the...
1
by: Weenie the Pooh | last post by:
We are writing an ASP.Net C# application (VS 2003) and plan to use embedded resources files for french, german and english UI. I created resx files named _todo.resx and _todo.fr-CH.resx Here...
0
by: nthpixel | last post by:
Hey Folks, I am getting the following errors when I try to connect to my db with the MySqlConnection. I added MySql.Data to my Reference list and have the .dll in my bin directory. I also have...
2
by: Fredrik Rodin | last post by:
All, I'm having problems with my resource manager in ASP.NET 2.0 after conversion from ASP.NET 1.1. Here is a background: In ASP.NET 1.1 All my user controls and aspx pages inherit from...
0
by: sagar | last post by:
Hi, I m having a vb.net project in which i created a default resource file Resource.resx as rightclick on project Add Add new Item resource assembly file In properties of project OutPut Type...
0
by: ramesh.nrk | last post by:
Hi, I am developing a windows application which should support different language for this I am using "Resource Manager" default in .net framework. Here I am developing dll for Resource because...
1
by: Yoavo | last post by:
Hi, I am trying to localize my application but I have some difficulties doing it. In my application I need to load the translated resource from a specific folder (that the user determine using...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.