tags:

views:

145

answers:

0

hi

notifyicon stays on taskbar when application closed, then when i move mouseover it, it goes.

i tried this on shutdown,

Private Sub MyApplication_Shutdown(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Shutdown
            Form2.NotifyIcon1.Visible = False
            Form2.NotifyIcon1.Dispose()
        End Sub

it still stays, any suggestion on this ?

thanks