I have a VB6 app that uses an icon in the system tray - is there a way to make the icon flash??
Cheers
Simon
Printable View
I have a VB6 app that uses an icon in the system tray - is there a way to make the icon flash??
Cheers
Simon
I'm taking a guess here but what if you do something like:
place a timer and when the timer interval is reached, have the form1.icon ="" then in a second when the timer interval is reached again have the form1.icon = app.path & "icon.ico"
and so on. I don't think this is the best method but iy *should* work.
Gl,
D!m
Follow these steps:
1. Put two imageboxes on form1
2. name them icon1 and icon2
3. load the two icons to the imageboxes
4. add a timer and set the interval(1000?)
5. add this code
Public which As Boolean
Private Sub Timer1_Timer()
Select Case which
Case True
Form1.Icon = icon1.Picture
which = False
Case False
Form1.Icon = icon2.Picture
which = True
End Select
End Sub