start & stop IIS & WWW service 
Author Message
 start & stop IIS & WWW service

Hi there,

Does anyone know how to start/stop the IIS, WWW & SMTP service from within a
VB6 program ?

Thanks a lot for any help



Mon, 02 May 2005 23:25:00 GMT  
 start & stop IIS & WWW service
you could execute the command line code "net stop w3svc/net start w3svc"

________________________________________
I got bored with my old signature,
so I changed it

Atrax. MVP, IIS
http://rtfm.atrax.co.uk/

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!



Tue, 03 May 2005 13:11:22 GMT  
 start & stop IIS & WWW service
As well as IISReset.exe in win2k and XP


Quote:
> you could execute the command line code "net stop w3svc/net start w3svc"

> ________________________________________
> I got bored with my old signature,
> so I changed it

> Atrax. MVP, IIS
> http://rtfm.atrax.co.uk/

> *** Sent via Developersdex http://www.developersdex.com ***
> Don't just participate in USENET...get rewarded for it!



Tue, 03 May 2005 15:46:44 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. start & stop IIS, WWW service

2. Code for Starting & Stopping Services

3. How in the &^#$&%#^%@# do you kill or stop or undo a started .AddNew event

4. *&*&*&* Date math question *&*&*&*

5. Starting & stopping a timer precisely

6. IIS 3.0 Services Stop????

7. Start, Stop, Reset IIS

8. ネットゲーム オセロ, インターネットのお金を稼ぐ, オンラインゲーム&#123

9. Made a service, it starts, then stops

10. Starting and Stopping Services

11. VB.Net Service Qustion: Detecting Program Start/Stop

12. To start and stop a service

 

 
Powered by phpBB® Forum Software