Solved

Show image/icon instead of button in Visual Studio 2010

Posted on 2014-02-24
3
727 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

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

This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

730 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