.NET Embedded Resource

Posted on 2005-03-08
Medium Priority
Last Modified: 2008-03-17
Hi all,

Currently Im working on a web application that supports multilingual with vs.net 2003 c#.

Some images are needed to be change depending on what language the user selects (e.g. flags). I know there are ways I can do this, like url link and resource file. However, I want to embed the image to the project so the users cannot modify the images. Just wondering what are the advantages and disadvantages of using embedded resource in .net. Also any article related to how to store and retrieve images to/from the embeded resource (assembly) will be appreciated.


Question by:Benny1
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 10

Accepted Solution

heintalus earned 204 total points
ID: 13492847
I've posted some code in the topic below that shows how to retrieve images from an assembly which should help


LVL 11

Assisted Solution

jatinderalagh earned 198 total points
ID: 13493179

Assisted Solution

gregasm earned 198 total points
ID: 13514129
Below is a link on how to retrieve the image, in the below case, an icon, out of the resource file.


To add the resource, you can use a program like this:



Featured Post

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently while returning home from work my wife (another .NET developer) was murmuring something. On further poking she said that she has been assigned a task where she has to serialize and deserialize objects and she is afraid of serialization. Wha…
For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question