PDA

Click to See Complete Forum and Search --> : Make a service in Windows


MacDuke
Aug 3rd, 2001, 05:28 AM
Hi,

Anyone knows how can I make a program, and run it as a service in windows?

Thanks

crispin
Aug 3rd, 2001, 05:53 AM
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....

MacDuke
Aug 3rd, 2001, 06:19 AM
There aren't any API to do it??

crispin
Aug 3rd, 2001, 06:29 AM
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....

Maexchen
Aug 3rd, 2001, 06:51 AM
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