473,503 Members | 6,587 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

.NET resource file question...

I have a solution that contains about 10 projects, and each project contains
several Windows forms (VS 2003, CLR 1.1)

I would like to add a single resource file that contains all of the bmp
image files that will be used across all of the forms. That way, if I
decide to change an image, I can simply modify the resource file and the new
image will be changed on all of the forms. I was just wondering what the
best-practice pattern is for doing this.

Should I create a single resx file contains all images for the app and place
it in the main assembly? Then, all other assemblies would have to be told
to use this file?

Any input would be appreciated!

Thanks!
Feb 13 '07 #1
3 1273
Follow this path might help you:
http://msdn.microsoft.com/msdnmag/is...spx?print=true

chanmm
"craig" <e@mail.comwrote in message
news:Os**************@TK2MSFTNGP05.phx.gbl...
>I have a solution that contains about 10 projects, and each project
contains several Windows forms (VS 2003, CLR 1.1)

I would like to add a single resource file that contains all of the bmp
image files that will be used across all of the forms. That way, if I
decide to change an image, I can simply modify the resource file and the
new image will be changed on all of the forms. I was just wondering what
the best-practice pattern is for doing this.

Should I create a single resx file contains all images for the app and
place it in the main assembly? Then, all other assemblies would have to
be told to use this file?

Any input would be appreciated!

Thanks!
Feb 14 '07 #2
sorry u cannot do that in 1.1 you should know better, Csharp is still
a beta application


On Feb 13, 1:31 pm, "craig" <e...@mail.comwrote:
I have a solution that contains about 10 projects, and each project contains
several Windows forms (VS 2003, CLR 1.1)

I would like to add a single resource file that contains all of the bmp
image files that will be used across all of the forms. That way, if I
decide to change an image, I can simply modify the resource file and the new
image will be changed on all of the forms. I was just wondering what the
best-practice pattern is for doing this.

Should I create a single resx file contains all images for the app and place
it in the main assembly? Then, all other assemblies would have to be told
to use this file?

Any input would be appreciated!

Thanks!

Feb 14 '07 #3
Thanks for the link. Unfortunately that information is for ASP 2.0, and I
am using Windows Forms 1.1.

Thanks anyway!

"Chan Ming Man" <ch*****@hotmail.comwrote in message
news:37**********************************@microsof t.com...
Follow this path might help you:
http://msdn.microsoft.com/msdnmag/is...spx?print=true

chanmm
"craig" <e@mail.comwrote in message
news:Os**************@TK2MSFTNGP05.phx.gbl...
>>I have a solution that contains about 10 projects, and each project
contains several Windows forms (VS 2003, CLR 1.1)

I would like to add a single resource file that contains all of the bmp
image files that will be used across all of the forms. That way, if I
decide to change an image, I can simply modify the resource file and the
new image will be changed on all of the forms. I was just wondering what
the best-practice pattern is for doing this.

Should I create a single resx file contains all images for the app and
place it in the main assembly? Then, all other assemblies would have to
be told to use this file?

Any input would be appreciated!

Thanks!

Feb 14 '07 #4

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

Similar topics

1
5767
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...
5
1812
by: Julia | last post by:
Hi, I need to localize my asp.net application and I would like to populate drop down box from a resource file I see that ms localization tool kit can save lists in a resource file but I don't...
8
1803
by: Bonj | last post by:
when creating a resource-only dll, the only way I can get it to compile and work correctly, is to make it a non-resource-only dll. surely this can't be the way...? basically, there is a load of...
2
1671
by: Joe Thompson | last post by:
Hi, I am trying to use PlaySound in a VC++.net Windows app (VS 2003). I can use it to play a file but now I want to play it from a resource. I have two questions: How do I add a wav file to...
1
2502
by: mehdi_mousavi | last post by:
Hi folks, Consider a string that's defined under VS2005 resource editor as myField with the value of myValue. To access the value, I could easily use the Properties.Resources class, for example:...
1
2831
by: John | last post by:
Can some one please help me with this code? I've spend 2 days on it. And I see the question all over the place but I do not see the answer. No on is answering the question I am about to ask. I...
8
13644
by: CodeLeon | last post by:
Hi, All. I am creating a setup program. The way it works is that the user creates their setup info, my program generates the C# code for a setup executable, embeds the xml file containing the info...
7
2090
by: craig | last post by:
....quick question for anyone who might have some experience with .net resource files in VS 2003. I have an application that is not localized, but I would still like to be able to place all of...
12
5241
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
1964
by: =?Utf-8?B?UGF1bCBIYWdlcg==?= | last post by:
I've been trying to solve this issue for the better part of a month. My attempts to get an answer on the MSDN groups proved to no avail. Here is the situation/problem. I am migrating an old...
0
7193
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
7316
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...
1
6975
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
7449
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...
1
4992
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...
0
4666
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
3160
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
3148
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
728
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.