|
-
Sep 23rd, 2000, 03:54 AM
#1
Thread Starter
Junior Member
I would dearly like to have the toolbar Icon change in response to program status - ie everything fine = smily face, problems = sad face
Any Ideas?
-
Sep 23rd, 2000, 05:02 AM
#2
Frenzied Member
Code:
If IsGood = True Then
Toolbar1.Buttons.Item(1).Image = "smileyface"
Else
Toolbar1.Buttons.Item(1).Image = "sadface"
End if
Jop - validweb.nl
Alcohol doesn't solve any problems, but then again, neither does milk.
-
Sep 23rd, 2000, 05:11 AM
#3
Thread Starter
Junior Member
Close -perhaps I didn't make myself clear - innacurate question sorry. I want to change the Icon displayed at the bottom of the screen should I have said Taskbar?
-
Sep 23rd, 2000, 05:27 AM
#4
Frenzied Member
Yeah it's called systray, but no problem! 
Do you use the code from http://www.vbsquare.com/tips/tip178.html to put it in the systray? then use Picture1.Picture = "SmileyFace.jpg" to change the icon I think.
Jop - validweb.nl
Alcohol doesn't solve any problems, but then again, neither does milk.
-
Sep 23rd, 2000, 06:01 AM
#5
Thread Starter
Junior Member
Close but still not there - I don't want it in the tray only on the taskbar. The one you click on to change applications
Any Ideas?
-
Sep 23rd, 2000, 07:56 AM
#6
Frenzied Member
Just do Form1.Icon = "Smileyface.bmp" or something.
Jop - validweb.nl
Alcohol doesn't solve any problems, but then again, neither does milk.
-
Sep 23rd, 2000, 09:55 AM
#7
Thread Starter
Junior Member
Got it!
Form1.Icon = LoadPicture("<path>\FACE01.ICO")
where <path> is you guessed it the path required
That was driving me up the wall - thanks for your help
-
Sep 23rd, 2000, 10:02 AM
#8
Frenzied Member
Glad you found it matey
Jop - validweb.nl
Alcohol doesn't solve any problems, but then again, neither does milk.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|