How do you install windows service?

Answer Posted / n.v.s.prasad

I Think,For Installing Windoes Service
i)First Create new Project and in Right Side Expand Visual
C# and select windoes service.
ii)Give name to your service.
iii)Write Your code IN OnStart Event.
iv)Add New Project To Your Solution and select 'setup'
project which is in other project templates
v)and set Project output type to primary output which is in
FileSystem(Service Setup).
vi)Right click Your service Setup in solution Explorer And
click install then your service is install in your system
vii)Go to controlpanel And click Administrtivetools(make
sure u have login as a Administrator (or) you are part of
Administrative Group) and then click services.
viii)Go to your service name and right click it and click
start then your service will run

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

We are using Jscriopt validations and at clint site javascript is not running that time validation would work? if yes then how it would behave?

1410


Describe in brief .net framework and its components.

546


Just by seeing the signature of the bean how can you specify whether it is a stateful or stateless session bean?

556


What is the asp.net control toolkit?

561


Explain what are the advantages of asp.net mvc framework? : asp.net mvc

527






explain code with multi inhertance

1651


What events will occur when a page is loaded?

578


What is the part of url?

534


What is css and what is it used for?

559


What is the difference between ASP.NET Webforms and ASP.NET MVC?

614


Define repository pattern in asp.net mvc? : asp.net mvc

503


Explain about the Class view window?

595


What is clickid?

561


What is the difference between login controls and forms authentication?

546


What are the various session state management options provided by asp.net?

544