Ive heard its possible but I dont think it is, does anyone know it Im wasting my time looking for how to get my console app to the systray??
Printable View
Ive heard its possible but I dont think it is, does anyone know it Im wasting my time looking for how to get my console app to the systray??
Sure it is, this is OOP :)
VB Code:
Sub Main() Dim f As New System.Windows.Forms.NotifyIcon f.Icon = New System.Drawing.Icon("Z:\jobwiz.ico") f.Visible = True Console.Read() End Sub
Of course, all context menus, handlers for click events, etc will need to be made manually.
Oh, and you'll need a reference to System.Windows.Forms, and System.Drawing. Heh, so uh.. what's the point of it being a console app when all's said and done :)
Bill