?
Solved

Show image/icon instead of button in Visual Studio 2010

Posted on 2014-02-24
3
Medium Priority
?
848 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 2000 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 learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Suggested Courses

807 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