Windows Service not working as expectedHi friends.
I have created a windows service that will close the application if any one try to open that application .
I have added service installers and specified the local system also.
I have installed the windows service in command prompt as administrator, the service got installed and showing in the list of services in services.msc
The same logic is working for the windows forms application but not working as a windows service.
What might be the problem?
I have written the logic in the onStart event of windows service.