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?
Printable View
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?
Code:If IsGood = True Then
Toolbar1.Buttons.Item(1).Image = "smileyface"
Else
Toolbar1.Buttons.Item(1).Image = "sadface"
End if
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?
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.
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?
Just do Form1.Icon = "Smileyface.bmp" or something.
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
Glad you found it matey :)