Home All Groups Group Topic Archive Search About

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

Author
21 Dec 2006 3:19 PM
Franky
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.

Author
21 Dec 2006 3:33 PM
Norman Chong
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...
Author
21 Dec 2006 3:46 PM
Franky
I'm glad I asked. I wasn't even close.

Thanks

PS
I have VS2005, my books are for VS2003

Show quoteHide quote
"Norman Chong" <normanch***@freenet.de> wrote in message
news:1166715195.764365.170780@n67g2000cwd.googlegroups.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...
>