Solved

Image on a command button

Posted on 2002-06-25
3
159 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
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…

805 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