John500
asked on
How to obtain button menu item icons/pictures for a Windows Form application (i.e. Save, View, Edit Delete)
I'm using a toolstrip object to create a serious of button menu items. At this point I don't know where to get the pictures that would represent actions such Save, View, Edit Delete
Thanks!
menus.jpg
Thanks!
menus.jpg
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Well, if you want it for the toolbar buttons you should download the 16x16 size. Fortunately each button has many sizes to download. Of course you can always choose to show big-size toolbar buttons, then download the 24x24 or 32x32.
Hope that helps.
Hope that helps.
ASKER
yes, that helps. I'm surprised that Visual Studio doesn't provide menu item icons in the tool box. Is there no VS library for these types of icons?
Thanks!
Thanks!
Well, you can find a .zip file in
Program Files\Microsoft Visual Studio 9.0\Common7\VS2008ImageLib rary\3082
If you unpack the .zip file you'll find several icons for buttons.
But those icon are very old-fashioned style. I prefer to download cool-looking icons from iconArchive.
Hope that helps.
Program Files\Microsoft Visual Studio 9.0\Common7\VS2008ImageLib
If you unpack the .zip file you'll find several icons for buttons.
But those icon are very old-fashioned style. I prefer to download cool-looking icons from iconArchive.
Hope that helps.
ASKER
Let me ask one other thing please and thank you. Not matter what source I go with, isn't there a proper way to store such resources?
I'm thinking I would either create a resource file or resource folder and store all such pictures or icons in that location. I'm having difficulty remembering but I thought if I added a resource item to the project and referenced a bmp or jpeg etc., the resource would end up being more user friendly. Am I right or wrong on this?
For instance, I can easily see icons being used in a Delphi project for similar buttons. If I find their source location and try to use them 'strictly' as a bmp, they do not display at all like they would in the Delphi project. For some reason the color gets all screwed up in the VS project.
Any thoughts here? Thanks!!
I'm thinking I would either create a resource file or resource folder and store all such pictures or icons in that location. I'm having difficulty remembering but I thought if I added a resource item to the project and referenced a bmp or jpeg etc., the resource would end up being more user friendly. Am I right or wrong on this?
For instance, I can easily see icons being used in a Delphi project for similar buttons. If I find their source location and try to use them 'strictly' as a bmp, they do not display at all like they would in the Delphi project. For some reason the color gets all screwed up in the VS project.
Any thoughts here? Thanks!!
Go to project properties and then go to the Resources tab. There you can add images, etc that are stored as resources to be used in your application.
Then in your form, when setting the picture for the button, you can choose between Local resource (you must navigate to a picture file in your disk) or an image stored as resource in your app.
In either way images are stored into your final .exe, but at least if you add them as resources you can use it in many forms storing it only 1 time in your .exe.
Hope that helps.
Then in your form, when setting the picture for the button, you can choose between Local resource (you must navigate to a picture file in your disk) or an image stored as resource in your app.
In either way images are stored into your final .exe, but at least if you add them as resources you can use it in many forms storing it only 1 time in your .exe.
Hope that helps.
ASKER
Yes, thanks on all points !
ASKER
:)
ASKER