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
what is a .xap file? Explain with an example.
Can we have multiple web config files for an asp.net application?
In early binding will the method invoked on com component will verify it?s existance in the system or not ?
If you are using components in your application, how can you handle exceptions raised in a component?
How to comment out asp.net tags?
What is asp.net web pages?
How does exception management works in ASP.NET?
What is gridview in asp.net?
What is query string with example?
What is application session?
What are early binding and late binding.
Explain how cookies work. Give an example of cookie abuse.
What is application state?
Explain the different types of assemblies?
What is recordset asp?