>Is there a easier way than using API calls such as ControlService? Unfortunately, this service is from a 3rd party, it's not SQL Server or MTS or another product from Microsoft that has a simple way to do it.
>
>Anyone already write code to do this?
Use ADSI:
oservice = getobject("WinNT://Mycomputer/Myservice,service")
oservice.Stop
oservice.Start
HTH.
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao