Click here to Skip to main content
15,892,674 members
Articles / Programming Languages / C#

Create a system tray icon and a dialog for a Windows Service

Rate me:
Please Sign up or sign in to vote.
4.84/5 (20 votes)
25 Jan 2008CPOL2 min read 367.6K   7.3K   120  
This article shows how to create a system tray icon and a dialog for a Windows Service.

Microsoft Visual Studio Solution File, Format Version 9.00
# Visual Studio 2005
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SystemTrayIconInSvc", "SystemTrayIconInSvc.csproj", "{2BD61D7E-FA7A-4B1B-9050-04EEE68A8765}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|Any CPU = Debug|Any CPU
		Release|Any CPU = Release|Any CPU
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{2BD61D7E-FA7A-4B1B-9050-04EEE68A8765}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{2BD61D7E-FA7A-4B1B-9050-04EEE68A8765}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{2BD61D7E-FA7A-4B1B-9050-04EEE68A8765}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{2BD61D7E-FA7A-4B1B-9050-04EEE68A8765}.Release|Any CPU.Build.0 = Release|Any CPU
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
EndGlobal

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

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


Written By
Team Leader
China China
Jerry is from China. He was captivated by computer programming since 13 years old when first time played with Q-Basic.



  • Windows / Linux & C++
  • iOS & Obj-C
  • .Net & C#
  • Flex/Flash & ActionScript
  • HTML / CSS / Javascript
  • Gaming Server programming / video, audio processing / image & graphics


Contact: vcer(at)qq.com
Chinese Blog: http://blog.csdn.net/wangjia184

Comments and Discussions