Solved

Image on a command button

Posted on 2002-06-25
3
160 Views
Last Modified: 2010-05-02
Hello experts,
I thought that I had seen an image on a command button once before but I can't seem to get it to work.  The command button has a picture property and I tried to set this both at design and run time with no luck.  I used command1.picture=loadpicture(app.path & "\blue.ico") but no dice.  Is it possible to display an image on a command button?
0
Comment
Question by:Glowman
  • 2
3 Comments
 
LVL 28

Accepted Solution

by:
AzraSound earned 50 total points
ID: 7107829
Set the button's Style property to Graphical
0
 
LVL 4

Author Comment

by:Glowman
ID: 7107864
I love this site!!
Thanks Azra
0
 
LVL 28

Expert Comment

by:AzraSound
ID: 7108040
Glad I could help   :-)
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

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

Suggested Solutions

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

791 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