473,399 Members | 3,656 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,399 software developers and data experts.

problem with 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 1156

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

Similar topics

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...
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: vabby | 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: sagar | last post by:
Hi, I m having a vb.net project in which i created a default resource file Resource.resx as rightclicking on project Add Add new Item resource assembly file In properties of project Output...
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...
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: 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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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...
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...

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.