Solved

Image on a command button

Posted on 2002-06-25
3
157 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
Comment Utility
Set the button's Style property to Graphical
0
 
LVL 4

Author Comment

by:Glowman
Comment Utility
I love this site!!
Thanks Azra
0
 
LVL 28

Expert Comment

by:AzraSound
Comment Utility
Glad I could help   :-)
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

763 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

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now