Found this code on the web and saved it... haven't tried it yet.
This code basically starts/stops the webservice.
Uses WinSvc;
procedure TForm1.Button1Click(Sender: TObject);
var sc_h, sc_man : SC_HANDLE;
begin
sc_man := OpenSCManager(nil, nil, SERVICE_START);
if sc_man = 0 then...