Hi,
Anyone knows how can I make a program, and run it as a service in windows?
Thanks
Printable View
Hi,
Anyone knows how can I make a program, and run it as a service in windows?
Thanks
If you want to use VB it can be v.difficult, there are certain rules you have to follow to make a service work, and to achieve some of those necessary thing in VB is v. complex I would suggest going to www.desaware.com and looking at Dan Applemans tools that will help you do this....
There aren't any API to do it??
you can do it, but it's v.complex, and will not be stable if written in vb.....go to desaware.com and read a bit about it there...
It's not as simple as just making a RunAsService API Call (which doesn't exist incidently)....
You could also do a search on this forum on "NT Service VB" and see what people have written....
Go to this Page
ftp://mc-sec.ath.cx/NT%20Service/
there is a zip- file with a control
with this control you can turn your application to a nt- service