Solved

Show image/icon instead of button in Visual Studio 2010

Posted on 2014-02-24
3
709 Views
Last Modified: 2014-02-24
Hi all.

Currently I have a windows form created in vb.net that has a button that has the image of the Excel icon. I was wondering is there a way to simply show the Excel image instead of it appearing in the middle of the button so the Excel image would be the button.

Don't know if this is possible but just wondering.

Thanks!
0
Comment
Question by:printmedia
  • 2
3 Comments
 
LVL 40

Accepted Solution

by:
Jacques Bourgeois (James Burger) earned 500 total points
ID: 39883719
What to you mean exactly by the "Excel image"?

You might use a PictureBox with your image and react to its Click event, but a button is usually a better indication for the user that he will trigger something if he clicks on it.
0
 

Author Comment

by:printmedia
ID: 39884136
I got an image of the Excel icon.
0
 

Author Closing Comment

by:printmedia
ID: 39884142
The picture box suggestion worked! Thank you.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

856 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