Solved

How to obtain button menu item icons/pictures for a Windows Form application (i.e. Save, View, Edit Delete)

Posted on 2013-06-26
9
429 Views
Last Modified: 2013-06-26
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

Menu Buttons
Thanks!
menus.jpg
0
Comment
Question by:John500
  • 5
  • 4
9 Comments
 
LVL 25

Accepted Solution

by:
Luis Pérez earned 500 total points
ID: 39278302
1. Go to http://www.iconarchive.com/
2. Do a search for "Open", "Save" or what you want.
3. Choose your preferred icon!
4. Download it at the right size.
5. Enjoy!

Hope that helps.
0
 

Author Comment

by:John500
ID: 39278453
Thanks much!  Can you tell me what I should expect for these size buttons?
0
 
LVL 25

Expert Comment

by:Luis Pérez
ID: 39278470
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.
0
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 

Author Comment

by:John500
ID: 39278480
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!
0
 
LVL 25

Expert Comment

by:Luis Pérez
ID: 39278500
Well, you can find a .zip file in
Program Files\Microsoft Visual Studio 9.0\Common7\VS2008ImageLibrary\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.
0
 

Author Comment

by:John500
ID: 39278545
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!!
0
 
LVL 25

Expert Comment

by:Luis Pérez
ID: 39278576
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.
0
 

Author Comment

by:John500
ID: 39278623
Yes, thanks on all points !
0
 

Author Closing Comment

by:John500
ID: 39278626
:)
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

822 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