473,837 Members | 1,889 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

.resources generated by .NET and creating your own Example2.resour ces.dll

Hi!
I am just starting to use .NET and need some help!

If I create my own DLL for String resouces using this command:
C:\WINNT\MICROS ~1.NET\Framewor k\v1.1.4322\Al /t:lib
/embed:resourceS tring.fr-ca.resources, /culture:fr-ca
/out:Example2.re sources.dll

C:\WINNT\MICROS ~1.NET\Framewor k\v1.1.4322\Al /t:lib
/embed:resourceS tring.resources , /out:Example2.re sources.dll

I then have to copy these two files (that have the same name) to the
correct directory locations. Where do I put the default DLL
(Example2.resou rces.dll using resourceString. resources)? (If I put the
fr-ca dll in the fr-ca directory)?

Another problem:
I am using the .Language and the .Localizabe property of the form and
setting the language to "fr". This in return creates
Debug\Form1.fr. resources along with Debug\Form1.res ouces. When I
compile it, it creates the Example1.Resour ces.dll and puts them in the
appropriate directory. I am also assuming this dll contains all
resources for all forms in the solution. So.....

How can I create my own Example1.Resour ces.dll for Strings and have
Example1.Resour ces.dll from Form1 as well??? This is kind of
confusing!

So far I have only been able to use the .recouces file (using
ResourceManager .CreateFileBase dResourceManage r). I can use the
Localizable property, but I cannot access strings from my satellite
assembly dll created from my resouces file.

Any help is greatly appreciated!
Thanks
Eric
Nov 21 '05 #1
0 997

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

Similar topics

1
2878
by: Derick Smith | last post by:
Hi! I am just starting to use .NET and need some help! If I create my own DLL for String resouces using this command: C:\WINNT\MICROS~1.NET\Framework\v1.1.4322\Al /t:lib /embed:resourceString.fr-ca.resources, /culture:fr-ca /out:Example2.resources.dll C:\WINNT\MICROS~1.NET\Framework\v1.1.4322\Al /t:lib /embed:resourceString.resources, /out:Example2.resources.dll
4
5901
by: Jon Rista | last post by:
I have a project where I need to create a windows .exe by compiling code and linking in some resources. This program thats being generated is somewhat unconventional, and I'll explain how. I'm generating a very simple installer app that embeds referenced .dll files inside it, which are extracted and referenced when the installer app is executed. This works great when the installer app is built with Visual Studio .NET, but it does not work...
6
23909
by: CuriousGeorge | last post by:
I've upgraded a .Net 1.1 web app to 2.0 and am having a heck of a time getting resources to work again. From what I understand if I move my strings.resx file into the App_GlobalResources folder I should magically be able to reference my strings using the syntax Resources.strings.string1. This isn't working for me. Is there something I'm missing other than moving the file itself and rebuilding? I get this error: "The type or namespace...
3
1259
by: Bob Trabucco | last post by:
Hello all, I have a ASP.NET website written using VS 2003. I am in the process of migrating it up to 2005. There is one problem I just can't seem to solve. In my original VS 2003 project I had a few icons and bitmaps included in the project with their build action set as "Embedded Resource". Through code I generated some bitmaps using these items for the user to see. Nothing
0
1888
by: Prashant M | last post by:
iam generating am exe from o/p of the c# application. I mean generating seperate exe dynamically from an exe of one application. suppose o/p of an exe generated for application1 is a form1. then when i click a button on form1 which was generated by tht original exe i should get another exe generated. Now iam able to that using compiler parameters. But when i tried the same concept on my project iam getting an error saying that :
0
1599
by: Prashant M | last post by:
iam generating am exe from o/p of the c# application. I mean generating seperate exe dynamically from an exe of one application. suppose o/p of an exe generated for application1 is a form1. then when i click a button on form1 which was generated by tht original exe i should get another exe generated. Now iam able to that using compiler parameters. But when i tried the same concept on my project iam getting an error saying that :
0
3673
by: shamirza | last post by:
· When was .NET announced? Bill Gates delivered a keynote at Forum 2000, held June 22, 2000, outlining the .NET 'vision'. The July 2000 PDC had a number of sessions on .NET technology, and delegates were given CDs containing a pre-release version of the .NET framework/SDK and Visual Studio.NET. · When was the first version of .NET released? The final version of the 1.0 SDK and runtime was made publicly available around 6pm PST on...
0
1263
by: schaf | last post by:
Hi All! I would like to have additional information (ResourceBuildDate) in the *.resx and afterwards in the *.resources to ensure the right .resources would be used for the satellite assemblies. Adding a new unused string to a custom generated .resx is easy, but it would be a problem for forms.resx files because these files will be generated by the system and so I will lost my entry. So I though I could use the resheader and add there a...
5
3303
by: JB | last post by:
Hi All, I've got 2 VB.NET applications in which I'd like to use strings declared in a VB.NET DLL. Is there a way to do that? Ideally I'd like to access it the same way as I access local resources i.e. do something like DLL.My.Resources.XXX where XXX is the name of the resource String. Thanks JB
0
9682
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
10875
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10566
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...
1
10623
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10272
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9401
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
7806
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...
1
4474
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
4040
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.