sudha_m_a
asked on
URGENT ! How to convert my VB application as a System service
I need to run my VB application as a service. It has to run all the time from windows startup without need to any user being logged on.
Its urgent so please respond ASAP.
Its urgent so please respond ASAP.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
https://www.experts-exchange.com/questions/10137152/VB-application-to-run-as-a-service.html?query=VB+application+System+service&clearTAFilter=true
https://www.experts-exchange.com/questions/20132680/How-To-create-a-VB-application-into-an-Nt-service.html?query=VB+application+System+service&clearTAFilter=true
https://www.experts-exchange.com/questions/20702627/Create-app-as-a-Service.html?query=VB+application+System+service&clearTAFilter=true
https://www.experts-exchange.com/questions/20381431/How-can-make-a-VB-application-with-GUI-to-run-as-NT-service.html?query=VB+application+System+service&clearTAFilter=true
https://www.experts-exchange.com/questions/20076414/VB-as-a-Service.html?query=VB+application+System+service&clearTAFilter=true
https://www.experts-exchange.com/questions/21013359/NT-service-problem-using-ntsvc-ocx.html?query=VB+application+System+service&clearTAFilter=true
https://www.experts-exchange.com/questions/20132680/How-To-create-a-VB-application-into-an-Nt-service.html?query=VB+application+System+service&clearTAFilter=true
https://www.experts-exchange.com/questions/20702627/Create-app-as-a-Service.html?query=VB+application+System+service&clearTAFilter=true
https://www.experts-exchange.com/questions/20381431/How-can-make-a-VB-application-with-GUI-to-run-as-NT-service.html?query=VB+application+System+service&clearTAFilter=true
https://www.experts-exchange.com/questions/20076414/VB-as-a-Service.html?query=VB+application+System+service&clearTAFilter=true
https://www.experts-exchange.com/questions/21013359/NT-service-problem-using-ntsvc-ocx.html?query=VB+application+System+service&clearTAFilter=true
I'm not sure if your hidden form is having any effect ... if your service doesn't need a GUI then make it a console app and start from Sub Main. I do know that there are additional settings for services that need to interact with the desktop.
One other thing that may be hiding your service from the process list ... if you used instsrv it is possibily running under the SYSTEM account rather than your login account and processes owned by System are hidden in your proclist.....
One other thing that may be hiding your service from the process list ... if you used instsrv it is possibily running under the SYSTEM account rather than your login account and processes owned by System are hidden in your proclist.....
may be try to put on task schedler and run when the machine starts
ASKER
Thanks it is working,
ASKER
given.
Please help