Start Application with Hidden Form

  • Thread starter Thread starter Eddie
  • Start date Start date
E

Eddie

Hi All,

How may I start my Application with no visible Form. I just want to add A
NotifyIcon in the systray. When the user DoubleClick my NotifyIcon, I will
show the Form...

(Like MSN Messenger)

Thx for your help !

Eddie
 
* "Eddie said:
How may I start my Application with no visible Form. I just want to add A
NotifyIcon in the systray. When the user DoubleClick my NotifyIcon, I will
show the Form...

\\\
Public Class AppMain
Public Shared Sub Main()

' Add icon here.
Application.Run()
End Sub
End Class
///

Don't forget to set the project's startup object to 'Sub Main' in the
project properties.
 
Works Perfectly !!

Thank you...


Herfried K. Wagner said:
\\\
Public Class AppMain
Public Shared Sub Main()

' Add icon here.
Application.Run()
End Sub
End Class
///

Don't forget to set the project's startup object to 'Sub Main' in the
project properties.
 
Back
Top