Hi,
Thought whilst I was at it I'd post this question as well.
Has anyone managed to get a Windows Service to display a NotifyIcon
successfully when a user logs on.
I have managed it in a roundabout fashion by starting a separate thread
which creates a windows form that contains the notify icon. I can also
control whether the form is shown depending on the UserInteractive
property. (Once I'd twigged that the service had to be allowed to
interact with the desktop!)
But to my mind this seems rather messy and has to have the form
permanently in memory. I was trying to create a service with the icon
that can then create an instance of a form is required. For admin tasks
etc?
I would appreciate any ideas on how to get round this. I have given up
with my current app and now have a TCP connection listening for admin
connections. (Still using more resources though, but it does mean I can
administrate the service from another machine.)
Regards,
Stuart Anderson.