Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Image on a command button

Posted on 2002-06-25
3
Medium Priority
?
165 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 200 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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…
Suggested Courses

581 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