473,404 Members | 2,179 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,404 software developers and data experts.

How to use resource Files in Class Libraries?

Can any one please give me a pointer on how to use resource file(s)
specific to a Class library?
This class library will be used by different (windows based)
applications.

Progress:
-- I have embedded the resource file to the class library and
compiled it. It has generated the resource satellite dll and placed in
the appropriate folder in bin\debug.
-- When i try to add this class library (along with teh satellite
dll) to the application. It is giving an runtime error -
MissingManifestResourceException.

//Austin//
Nov 16 '05 #1
2 8236
There used to be a code example for this in .NET SDK document.

--

This posting is provided "AS IS" with no warranties, and confers no rights.
"Austin" <aj********@yahoo.co.in> wrote in message
news:4e**************************@posting.google.c om...
Can any one please give me a pointer on how to use resource file(s)
specific to a Class library?
This class library will be used by different (windows based)
applications.

Progress:
-- I have embedded the resource file to the class library and
compiled it. It has generated the resource satellite dll and placed in
the appropriate folder in bin\debug.
-- When i try to add this class library (along with teh satellite
dll) to the application. It is giving an runtime error -
MissingManifestResourceException.

//Austin//

Nov 16 '05 #2
Hi Han,

Thank you for taking some time to respond my query. I am not able to
hit the exact place where i can find the sample code for my
requirement.

Can you please share me the code/link .. if you have any?

Thanks in Advance,
Austin.

"S. Han" <@> wrote in message news:<40********@news.microsoft.com>...
There used to be a code example for this in .NET SDK document.

--

This posting is provided "AS IS" with no warranties, and confers no rights.
"Austin" <aj********@yahoo.co.in> wrote in message
news:4e**************************@posting.google.c om...
Can any one please give me a pointer on how to use resource file(s)
specific to a Class library?
This class library will be used by different (windows based)
applications.

Progress:
-- I have embedded the resource file to the class library and
compiled it. It has generated the resource satellite dll and placed in
the appropriate folder in bin\debug.
-- When i try to add this class library (along with teh satellite
dll) to the application. It is giving an runtime error -
MissingManifestResourceException.

//Austin//

Nov 16 '05 #3

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

Similar topics

1
by: H | last post by:
Hi, I have written a small game with a aroud 20 sounds. At the moment these wave files are just put into a folder and called using the playsound function. Is there a way to embed these files...
18
by: JKop | last post by:
Here's what I know so far: You have a C++ project. You have source files in it. When you go to compile it, first thing the preprocessor sticks the header files into each source file. So now...
3
by: J.Marsch | last post by:
Hello all: I am trying to build a resource dll that will house icons, and I'm afraid that I'm not having much luck reading it. Can you lend hand (or just point me to a good primer). Here's...
7
by: Wysiwyg | last post by:
Is there any way to add an embedded resource to a project without copying it to the project's directory? I have shared resources and don't want each project using the images, xml files, etc. to...
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: herbert | last post by:
In VS.2005 there are three templates for storing application info: Resource File Settings File Application File. 1) What is the purpose of each one? When to use, when not? 2) How does VB's...
9
by: Alf P. Steinbach | last post by:
<what to design a C++ solution for> A Windows API /resource/ is data embedded in the executable, accessed via API functions. A resource is completely identified by the quadruple (id, type,...
2
by: WT | last post by:
Hello, Could we use 'Embedded resources' with resx files that contain text resources used in aspx pages with the syntaxe: Text="<%$ Resources:ResourcesMy,KEY1 %>" I tryed removing the...
12
by: TS | last post by:
i have a need to possibly enable mutli language support. What benefit do i get by using a resource file instead of a custom xml solution? thanks!
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.