473,462 Members | 1,128 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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 1157

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...
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
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
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,...
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
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
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.