The program doesn't hide in systray for me.
When minimizing the systray icon does appear, but the taskbar "bar"
, also stays.
code:
Private Sub Form1_Resize(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Resize
If Me.WindowState = FormWindowState.Minimized Then
NotifyIcon1.Visible = True
Me.ShowinTaskbar = False
Else
NotifyIcon1.Visible = False
End If
End Sub
and at the code for the Show the program button on the systray menu you should set Me.ShowinTaskbar on True again