473,326 Members | 2,192 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,326 software developers and data experts.

What would be a good way to add image files to my solution

I have a solution in which the menu items have no images.

I want to add them.

Having never done this before, nor explicitly add any resources, I'm
wondering the best way to do that.

So I download a few example solutions to see how other do it but really
didn't find what I needed.

One solution seemed to contain something I liked.

It had a folder called "Resources" in which all the images were stored.

However, I expected the images' Action property would be "Embedded Resource"
but it was not. Of course I do not know if it would be desirable to use
"Embedded Resource" .

So I'm asking, what would be a good way to go about adding image files to my
solution and then using them in my menus?
Thanks

I have 4 big VS2003 books but none give any help on this subject.


Dec 21 '06 #1
2 1523

Franky schrieb:
So I'm asking, what would be a good way to go about adding image files to my
solution and then using them in my menus?
Hi Franky,

In VS2005 you can add resources with the following steps:
Right click on Project file --Select 'Properties' --Select tab
'Resources' --Select 'Add Resource' --Select 'Add existing file'
--Choose image file
The image should now be a resource of your project.
I don't know if it's the same in VS2003, but maybe this helps...

Dec 21 '06 #2
I'm glad I asked. I wasn't even close.

Thanks

PS
I have VS2005, my books are for VS2003

"Norman Chong" <no*********@freenet.dewrote in message
news:11**********************@n67g2000cwd.googlegr oups.com...
>
Franky schrieb:
>So I'm asking, what would be a good way to go about adding image files to
my
solution and then using them in my menus?

Hi Franky,

In VS2005 you can add resources with the following steps:
Right click on Project file --Select 'Properties' --Select tab
'Resources' --Select 'Add Resource' --Select 'Add existing file'
--Choose image file
The image should now be a resource of your project.
I don't know if it's the same in VS2003, but maybe this helps...

Dec 21 '06 #3

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

Similar topics

5
by: Al Davis | last post by:
Note: I tried cross-posting this message to several newsgoups, including comp.lang.perl.misc, c.l.p.moderated, comp.infosystems.www.authoring.cgi, comp.lang.javascript and comp.lang.php. Nothing...
125
by: Sarah Tanembaum | last post by:
Beside its an opensource and supported by community, what's the fundamental differences between PostgreSQL and those high-price commercial database (and some are bloated such as Oracle) from...
1
by: drinc2much | last post by:
Let me just start out by saying that I am a Java webapp developer. I was pulled into rebuilding our intranet site. I have limited experience with what is the best method for structuring an intranet...
2
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...
13
by: salad | last post by:
Hi Guys: I was stuck. I needed to send a report to a file. My beautiful report(s) in Access were going to require loss of formatting with RTFs, a PITA in WordMailMerge, sending it as a text...
1
by: reidarT | last post by:
I have oppened a solution in Vb.net with an image folder. When I have opened vb.net and then adds an image to the image folder, it is not updated. I have to strt vb.net all over. Am I missing...
5
by: =?Utf-8?B?Q2hyaXM=?= | last post by:
Hi, I need to store lots of product images. I was thinking of storing the paths in the database but overtime it may become cumbersome as I'll be dealing with lots of images. I would need to...
4
by: andre rodier | last post by:
Hello, I need to display or propose a jpeg image on a web page. When I need to display the image, I use this code : header("Content-Length: $fileSize") ; header("Content-Type: $type") ;...
5
by: Timothy Madden | last post by:
Hello I see there is now why to truncate a file (in C or C++) and that I have to use platform-specific functions for truncating files. Anyone knows why ? I mean C/C++ evolved over many years...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.