The questions
1) Has anyone successfully created a contextmenu on a NotifyIcon in a service? if so, could you give me some pointers? (I can get it to work not in a service)
2) If I'm supposed to create a tray icon app, which then communicates with the service, do you know of an example somewhere to aid me?
The whole story:
Ok, so I have a service which I'd like to be able to allow the user to configure settings and get status via a tray icon (NotifyIcon) I have the NotifyIcon working but I can't get the context menu to work. I wrote a quick test app with a NotifyIcon and a context menu and was able to add menuitems and have them appear when I right mouse click the icon, which, when it is a service, o context menu comes up. So, I've been digging, and reading.. and there's talk of solving the problem with ServiceController components or a number of ways. I wrote C++ code for years, but have been asked to work in VB .NET, so still relatively a rookie here, sorry.
Yes, I have read a lot and dug a lot.. just frustrated.. thanks in advance for reading this far
1) Has anyone successfully created a contextmenu on a NotifyIcon in a service? if so, could you give me some pointers? (I can get it to work not in a service)
2) If I'm supposed to create a tray icon app, which then communicates with the service, do you know of an example somewhere to aid me?
The whole story:
Ok, so I have a service which I'd like to be able to allow the user to configure settings and get status via a tray icon (NotifyIcon) I have the NotifyIcon working but I can't get the context menu to work. I wrote a quick test app with a NotifyIcon and a context menu and was able to add menuitems and have them appear when I right mouse click the icon, which, when it is a service, o context menu comes up. So, I've been digging, and reading.. and there's talk of solving the problem with ServiceController components or a number of ways. I wrote C++ code for years, but have been asked to work in VB .NET, so still relatively a rookie here, sorry.
Yes, I have read a lot and dug a lot.. just frustrated.. thanks in advance for reading this far