PDA

Click to See Complete Forum and Search --> : run as NTService


Jaci Ho
Feb 7th, 2001, 09:29 PM
Hi there,
I am trying to make my VB program run as NTservice. I know there is a control to do that. How to make my program to pause and restart again without using the control panel? I am trying to write a VB program to pause and continue the service automatically or though a User interface. Is there any one know how to do that? thxk in advance

tumblingdown
Feb 7th, 2001, 10:54 PM
You're not planning on putting the UI in the service, are you ;)


td.

Jaci Ho
Feb 7th, 2001, 11:05 PM
No. I have a program install a service already and want another program to pause and continue the service automatically. I want to do this because I can't do any upgrade during the service is running. That's why I want to write another program to stop the service.

tumblingdown
Feb 7th, 2001, 11:08 PM
I know. It was a joke.

There are some API's to start and stop services etc. I'll look them up and post later today (if no one else does it).


td.

Jaci Ho
Feb 7th, 2001, 11:12 PM
Oh.....
thanks a lot.