473,385 Members | 1,925 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,385 software developers and data experts.

how to add image files to .resx

Hello,

According to my C# book, I can add a .resx file to my
project by going to the Project menu, Add New/Assembly
Resource File... I want to add 6 icon files, one.ico,
two.ico...six.ico. I got as far as adding the
Resource1.resx file. I now see a table like thing with
the titlel "Data for data". So how do I add my ico files
to this table? I see the xml page. Do I have to manually
type in the ico files? And before I do that do I need to
add the ico files to my project by right-clicking on the
solution explorer/add existing item? Eventually, I want
to use the Resource Manager to use these resources. How
do I set this up?

Thanks,
Steve
Nov 16 '05 #1
3 14717
The Resource editor that comes with VS .Net isn't all that powerful. You'll
need a 3rd party ResX editor. There're a lot of free resx editors available
on the internet...

http://www.only4gurus.com/v2/preview.asp?ID=4791 is a good start

-vJ

"Steve" <an*******@discussions.microsoft.com> wrote in message
news:83****************************@phx.gbl...
Hello,

According to my C# book, I can add a .resx file to my
project by going to the Project menu, Add New/Assembly
Resource File... I want to add 6 icon files, one.ico,
two.ico...six.ico. I got as far as adding the
Resource1.resx file. I now see a table like thing with
the titlel "Data for data". So how do I add my ico files
to this table? I see the xml page. Do I have to manually
type in the ico files? And before I do that do I need to
add the ico files to my project by right-clicking on the
solution explorer/add existing item? Eventually, I want
to use the Resource Manager to use these resources. How
do I set this up?

Thanks,
Steve

Nov 16 '05 #2
Thanks for your reply. Now I feel better with the
solution that I came up with - which is to create my own
resource file from a separate program using the
resourcewriter. This seems to work fine. I just thought
I was reinventing the wheel doing it this way. I guess
not.

Thanks
-----Original Message-----
The Resource editor that comes with VS .Net isn't all that powerful. You'llneed a 3rd party ResX editor. There're a lot of free resx editors availableon the internet...

http://www.only4gurus.com/v2/preview.asp?ID=4791 is a good start
-vJ

"Steve" <an*******@discussions.microsoft.com> wrote in messagenews:83****************************@phx.gbl...
Hello,

According to my C# book, I can add a .resx file to my
project by going to the Project menu, Add New/Assembly
Resource File... I want to add 6 icon files, one.ico,
two.ico...six.ico. I got as far as adding the
Resource1.resx file. I now see a table like thing with
the titlel "Data for data". So how do I add my ico files to this table? I see the xml page. Do I have to manually type in the ico files? And before I do that do I need to add the ico files to my project by right-clicking on the
solution explorer/add existing item? Eventually, I want
to use the Resource Manager to use these resources. How
do I set this up?

Thanks,
Steve

.

Nov 16 '05 #3
Well if you want something real hardcode how about base64 encoding your
image files and then pasting it into the .resx file. You can find a
reference post on base64 encoding here,
http://weblogs.asp.net/sjoseph/archi...02/224586.aspx

;) ;)

Sijin Joseph
http://www.indiangeek.net
http://weblogs.asp.net/sjoseph

Steve wrote:
Hello,

According to my C# book, I can add a .resx file to my
project by going to the Project menu, Add New/Assembly
Resource File... I want to add 6 icon files, one.ico,
two.ico...six.ico. I got as far as adding the
Resource1.resx file. I now see a table like thing with
the titlel "Data for data". So how do I add my ico files
to this table? I see the xml page. Do I have to manually
type in the ico files? And before I do that do I need to
add the ico files to my project by right-clicking on the
solution explorer/add existing item? Eventually, I want
to use the Resource Manager to use these resources. How
do I set this up?

Thanks,
Steve

Nov 16 '05 #4

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

Similar topics

1
by: Stijn Goris | last post by:
hi all, A user can upload maximum 10 image files at once. When the user only uploads 6 images, 4 fileboxes are left blank. I use function checkImage() //check the the extension. Must be a jpeg...
0
by: Hari Prasad | last post by:
Hi, I have downloaded some image files by connecting to a URL and I am trying open that image file using BrowserLauncher. I am using windows xp and the default one to open image files is windows...
3
by: Veetold | last post by:
I have a problem with displaying image files (jpg) on my report. I got a solution from Larry Linson (Microsoft Access MVP) for which I'm grateful, but I still don't exactly know how to link an...
1
by: Veetold | last post by:
The solution you suggested works very good - thanks again. I encountered a new problem related to this topic. According to your advise I put the following line to print and format event: ...
1
by: Dev | last post by:
Dear Friends, I am passing the image name, size (in bytes) and imgaeformat (like jpg or bmp or pdf) through the network. I want display the image into picturebox without saving image...
2
by: Ryan Moore | last post by:
I am creating a site that has an "Uploads" directory where users can upload image files (let's say .jpgs and .gifs). When a user uploads an image, the system creates a directory within this...
5
by: jcrouse | last post by:
I saw an article, once, on how to package image file in the installer so they are not accessible to the end user. I want to say hidden, but I don't just mean the file attribute of the image file....
3
by: Andre | last post by:
I'm writing a web-app which needs some javascript (my own) to be executed locally. This app can load local pages or remote ones; however I have a concern about potentially malicious code in...
5
by: ivowel | last post by:
dear css experts: I have some TIFF images of text articles. I would love to be able to use the "Find" feature in my browser to a particular word in the text, and to have hrefs in the document...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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: 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...

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.