Click here to Skip to main content
15,890,399 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
Dear All,
I am creating Windows services application.
I need to start application when file store in one location and stop after complete processing. sometimes user can stop the services manually. I need this information in Event log file.

For Example:
Start win services -- when file store in the particular location.
Stop Win service -- Process Completed.
User stop service Manually -- User Manually stopped this time.

These information should store in Event log file.

How to do this?
Posted
Comments
ZurdoDev 7-Apr-15 8:19am    
Windows already logs when services start and stop.
DotNetNarayanan 8-Apr-15 1:08am    
Hi Ryan,
Thanks for your reply. Please give me some example for this.

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