• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 874
  • Last Modified:

Show image/icon instead of button in Visual Studio 2010

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.

  • 2
1 Solution
Jacques Bourgeois (James Burger)PresidentCommented:
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.
printmediaAuthor Commented:
I got an image of the Excel icon.
printmediaAuthor Commented:
The picture box suggestion worked! Thank you.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now