Click here to Skip to main content
15,885,921 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
am very new to visual studio initially i just want to develop a simple service which writes something into the file called Logfile.where do i get started and i just tried creating a new windows service and installed it on Machine.
Posted
Comments
Kornfeld Eliyahu Peter 11-Jun-14 3:07am    
Google!
Chinna Suresh 12-Jun-14 1:27am    
and how do i create a process and make this process to depend on my windows service
thanks for Solution !

 
Share this answer
 
Use the MS Enterprise Library logging functionality here http://msdn.microsoft.com/en-us/library/dn440731%28v=pandp.60%29.aspx[^]
To log to the Event Log, set up an event log trace listener
 
Share this answer
 

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