473,807 Members | 2,842 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to add Resource Files to a Windows Set Up Project.

Hi to all,

I have a dll that i named CoreLibrary.Bas ically to return messages from the
dll to the calling application ,be it a windows application,web service or
any other third party i call for help the Resource Manager class of Dot Net.

To be more precise,In the dll i included resources for English language and
French language bu using the naming convention provided by Microsoft i.e
Messages.en-US.resx or Messages.fr-FR.resx.

Now i have a windows application which references the dll mentioned
above.The windows application also used the same idea as above for
application globalization.

When i completed my exe and build the program in Vs 2005 everything works OK.
Because i don't know by what means dot net copies the
CoreLibrary.Res ources.dll file to the bin/Debug/en-US and bin/Debug/fr-FR ,so
the application runs without problem.

Now when i created the set up project for my application ,when i compiled it
and installed it ,the latter is not copying the CoreLibrary.Res ources.dll
file to the necessary directories.

I think that the Set Up and Deployment did not find
CoreLibrary.Res ources.dll as a dependency file for the application.

The solution i got is to include the dll project in the Windows Application
solution and then add its Localized resources to the set up project which
eventually works.

But this becomes a problem for me in the event that the CoreLibrary project
is a very big and Confidential dll which i do not want my other developers to
view its code.

This is probably the reason why it is compiled in a dll.

What i would like from you all is suggestions of whether the way am doing it
is the right way or / and if there is another way to include the resources
dll generated by the dll the set up application so as windows installer can
copy the files to the necessary directories.

If you cannot understand me please reply me so as i can explain myself better.

Thanks in advance for those who will eventually help me .
Jun 27 '08 #1
0 1447

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

Similar topics

1
5863
by: Gabriel Lozano-Morán | last post by:
First of all sorry for the cross-posting but I am not sure wether this belongs under internationalization or just general. Environment: Visual Studio .NET 2003 Problem: Newly added and renamed resource files are not automatically linked to the object they belong by the IDE
12
2070
by: bj7lewis | last post by:
I am working on a project I want to add a few files as resource to access(copy them to FS and use) at runtime. So far in VS.NET IDE, I Add Files to the project and set its Build Action to Embedded Resource... Now where should look next... Any help...
2
3514
by: Don Tucker | last post by:
Hello, I have a Windows Application that needs to load multiple image files in response to users clicking buttons. Currently, I just have these images as .jpg files on disk, but I don't want to have to migrate the files everywhere that the executable is installed. Is there a way to add them to a Visual Studio solution/project so that they are embedded in the application somehow? If so, how do I access the images when needed? Thanks,...
0
2018
by: Kleanthis | last post by:
I have a problem, when deploying multilingual applications using cab files on Compact Framework 2.0. It seems that something is going wrong with compact framework 2.0 Below I have a description of the problem The main Smart Device Application contains 3 resource files under the Properties folder, in order to produce localization satellite asseblies. Those resource files are named Resources.resx (a default empty resource file),...
11
1988
by: Alan T | last post by:
I added a resource file into my project, to store the caption of buttons and labels.. How do I make use of this resource file to dynamically assign to the buttons and labels ?
1
2011
by: Tom | last post by:
This may seem a little strange, but in all my years of developing Windows Forms apps, I've never really used Resource files; however, I would like to start doing so in order to store icons, pictures, and most importantly, error message strings in resource files so I don't have to go searching for them inside the code (if I want them changed). I know VS 2005 makes it MUCH easier to use and create resource files, but in my few times I have...
7
3467
by: Rich | last post by:
I am resurrecting this question (since it got bumped down by more recent posts). This is probably very simple - I need to add a version resource to a DLL project in MSVC++ 2005 Express in order to have version info, copyright, etc. when checking the DLL file properties from Windows Explorer. Any guidance is appreciated.
2
6532
by: Screaming Eagles 101 | last post by:
Hi, we used to have a resource file in VB6 and use this as a provider according to the language a user chose (English, Dutch, Spanish,....), his interface thus. In this resource file we had al labelcaptions, texts for messageboxes, etc... stored, so when the user chose for an interface in English all menu's etc.. were in English...
12
5280
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
9720
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9599
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10372
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9193
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7650
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5546
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5685
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4330
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 we have to send another system
2
3854
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.