I need the tray icon for windows service.
In that service i am checking for certain timing, at that time i want to load the application.
Is it possible using C# in .net 1.1.
I need the tray icon for windows service.
In that service i am checking for certain timing, at that time i want to load the application.
Is it possible using C# in .net 1.1.
How to place the Tray Icon for Windows Service using C#
VitCon
As Curtis has suggested, Create 2 applications, one Windows Server and other Windows Application. You can hide the main form of Windows Application and put icon in the System Tray. Whenever you want to show an icon you can start that application and whenever you want to hide the icon you can kill that process using Process.Kill....
If you need other communications like, menupulating context menu assiociated with Notify Icon or change the icon dunamically then you need to use Remoting.
Best Regards,
pratap gaikwad
Writing a service that interacts with the desktop is hard. It is much easier to write a Windows application that creates a tray icon and communicates with the Windows Service via some interprocess communication mechnism such as Named Pipes, Shared Memory Files, or TCP (i prefer TCP).
Does this help
Curtis