Can a contextmenu be used in a VB.Net 2005 console application? If so, how do I create the necessary events. I know how to create the control but not sure about the needed events. I'm thinking the only one I really need is the "Click" event.
In that case, if I use it in a Windows app, how can I get the NotifiyIcon to show up in the Systray without the Form being active even though it's minimized? I basically don't want the Form to show at all.
It's a Windows application that will display various Forms, however, on startup of the application, I only want the NotifyIcon to show in the systray and nothing else. Forms will eventually popup based on menu selections from the contextmenu.
you are using 2005 or 2008? I can give you a quick sample code showing how to create a notifyicon and context menu in a Sub Main and not load a form until needed.
That's exactly what I was looking for. One more thing if you don't mind and I know it's a different topic but how would I get a program to start upon bootup while placing the icon in the systray?