I've been busy learning windows service these days. I have here a windows service application that monitors a folder then logs all the activities inside that folder. I want my windows service to show in the system tray, how do I integrate my windows service and the notify icon? Thanks! :)
Thanks for the reply, you've been very helpful. Uhmm, can I ask you why is it that a lot of machines are set so that services don't and couldn't interact with the desktop? What rule is it? I'm a little confused. Thanks.
Part of it is done because a lot of services are running as a service account that has admin access with no questions and so any "user" who can interact with that potentially has more rights than they should
Other reasons are that because services have no session like a user would, you need to be careful as to who would be controlling something if a service were to appear on more than one session..
I believe by default vista doesnt allow it, and certainly GPOs are applied in a lot of companies/organisations (unis etc) to prevent any exploitation.