>Can you tell me what parameters I should change and to what values? I'm getting OLE error code 0x80005000 "Unknown COM status Code."
>
>I did this exact same statement except for "service" which I replaced with the name of the service I was trying to start.
>oservice = GetObject("WinNT://MyMachine/LanManServer,service")
>
>-Josh
Change LanManServer to the name of the service. The last service is used by GetObject and ADSI to filter the object it looks at. For example, if I want to start the PC Anywhere Host service on my machine, it would be:
oservice = GetObject("WinNT://MyMachine/awhost32,service")
oservice.Start
Also, this presupposes you have ADSI installed. If not, check out the MS web site and download it. Do a search on "Active Directory Service Interface".
HTH.
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao