I have created a Windows service with using that service. How will I call a Windows application?
Walkthrough: Creating a Windows Service Application in the ...
http://msdn.microsoft.com/en-us/library/zt39148a(VS.80).aspx
You have to pick a Windows service from the project type in Visual Studio. If you meant how can you host an application as a Windows service, the only way to do this is to create a new project of type Windows Service and use the Process class.
You can then create an install class and then use installutil or alternatively, use sc
from the command line to install it.
Windows services and Windows applications are completely different programs. Windows services are automatically started when the computer boots, have no user interface and have different security context than logged in user. You can't simply convert a Windows application to a Windows service (and expect it to run smoothly). If you want your program to always run (24/7) with no user interface then you can look into Windows services.
More on Windows services: "Windows Service vs Windows Application - Best Practice" and "Windows Service Applications".
Hey, you can easily run ANY application as Windows service with this utility - Application As Service by Eltima