Click here to Skip to main content
15,913,722 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I've to create a tray icon for windows service.
In that service i am checking for certain files in a folder and uploading that files into a server.
I've to show the balloon messages in the tray icon if the upload success or not

Is it possible using C# in .net 4?
Thanks in advance for any help...
Posted
Updated 19-Oct-11 0:34am
v3

 
Share this answer
 
Comments
CGN007 19-Oct-11 6:32am    
I already visited that link.
I need a working sample for this...
A service can't* provide a graphical UI. What you need to do is write a normal application which sits in the taskbar, and communicates with your service. There's various methods for doing cross-process communication, pick one which you like using. I generally look at TCP but that might produce a firewall warning message when the service starts a listening server.

* - ok, it is technically possible, but it is hard and against the principles of services so you shouldn't.
 
Share this answer
 
v2
Comments
CGN007 19-Oct-11 7:16am    
Can you suggest any tutorials/helpful links about this...?
BobJanova 19-Oct-11 13:12pm    
Never had to investigate, sorry. Search engines are as available to you as to me ;)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900