Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Stop/Start Web Server
Message
From
16/04/2002 17:50:09
Joel Leach
Memorial Business Systems, Inc.
Tennessee, United States
 
 
To
16/04/2002 13:42:10
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00645583
Message ID:
00645746
Views:
20
This message has been marked as a message which has helped to the initial question of the thread.
>Hi All,
>
>Does anyone know of an API call (or other solution) that I can make from VFP 7 which can (a) Stop, (b) Start, and (c) Query the state of a web server. I would like to be able to do this for both Apache and IIS.
>

You can use net start or net stop with VFP's RUN command to start/stop any service. A simple http request might take care of (c).
Joel Leach
Microsoft Certified Professional
Blog: http://www.joelleach.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform