That helped me with:
Run
oShell = CreateObject("Shell.Application")
oShell.ServiceStart("Nomservicio")
Stop
oShell = CreateObject("Shell.Application")
oShell.ServiceStop("NomService")
Starting and stopping a service, but does not help me on stopping and starting an IIS Server.
>>Does anyone know how I can use VFP to Stop an IIS Server and then Stop/Start a Service and then restart the IIS Server?
>>
>>TIA
>
>Bret,
>
>Check Message #
968085 and the thread
Bret Hobbs
"We'd have been called juvenile delinquents only our neighborhood couldn't afford a sociologist." Bob Hope