I need to understand how to work with Visual basic 6.0. does it require to have VB 6.0 software disk to and want create to Flash Title bar as trigger as when E- mail notification ( E-mail message arrive) it should stay flashing until all message are gone. see below.

Public Declare Function FlashWindow _
Lib "user32" (ByVal hwnd As Long, _
ByVal bInvert As Long) As Long
Put a timer and 2 commandbuttons on form1 with these properties:
command1.caption="Start"
command2.caption="Stop"
timer1.interval=500 'flashes every 1/2 second
timer1.enabled=false
Code


Private Sub Timer1_Timer()
a& = FlashWindow(Me.hwnd, 1)

but it is not working... Please help me!

Any one know the problem, Please let me know


Thanks,
MDJ