2
Answers

Running project class methods in window service

Raju Kumaran

Raju Kumaran

8y
340
1
Hi,<br /><br />I am building a windows service which will scan the available wifis using NETSH WLAN. i created a class inside the the windows service solution and defined my method there. 1 methods scan and other one write a file and then parses it to the database which saves the result in db. I created a GUI win form application of this application and its working 100 percent fine. But when i use this class in windows services what happens is windows service is installed and showed as running service but the class method does seem to be called and working. I tried to use method within the service but that did't work also. If i debug it from Visual studio it works fine but does not work as windows services. What should I do?
Answers (2)