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
430 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
How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

 

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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

839 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