Hello, Im want to use a notifyIcon control in my windows service. How can i do it? Do can i call notifyIcon's ShowballoonTip method in service's Onstart method so that when the user starts the servive, the NotifyIcon is shows? How can i do it?
With Regards
mojtaba

You can't. You should create a seperate project to startup with the users account that has the notify icon in it. This project should communicate with the windows service in some manner. (RPC, Remoting, TCP/IP, etc). You should avoid any GUI/user interaction directly from windows services.

Kenny

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.