2nd post - Stopping a service 
Author Message
 2nd post - Stopping a service

Does anyone know how to stop a service in Windows 95/98 using jscript?  I'm
aware Win9x does not support the service control manager API but it must be
possible to do the equivalent of a right-click and choose 'exit' from a
service shown in the Win9x System tray.

Apologies if this isn't the right newsgroup (suggestions?) but I want to use
jscript if possible.

Rick



Fri, 07 Feb 2003 03:00:00 GMT  
 2nd post - Stopping a service
You can do this with either ADSI or WMI...

Win32 Scripting [Clarence Washington]
http://cwashington.netreach.net
http://cwashington.netreach.net/script_repository/repository.asp
http://cwashington.netreach.net/script_repository/query.asp
http://cwashington.netreach.net/main_site/downloads

Check here for examples:

http://cwashington.netreach.net/script_repository/faqs.asp?topic=wmifaq
http://cwashington.netreach.net/script_repository/faqs.asp?topic=adsifaq

--
Michael Harris
Microsoft.MVP.Scripting
--


Does anyone know how to stop a service in Windows 95/98 using jscript?  I'm
aware Win9x does not support the service control manager API but it must be
possible to do the equivalent of a right-click and choose 'exit' from a
service shown in the Win9x System tray.

Apologies if this isn't the right newsgroup (suggestions?) but I want to use
jscript if possible.

Rick



Fri, 07 Feb 2003 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Stopping IIS service by describe not service number?

2. 2nd Post: IFRAME DIVs and form fields

3. showModalDialog not returning any value....2nd post.

4. require form before dowload - 2nd post

5. Filtering words - 2nd post

6. Line Break - 2nd Post

7. 2nd Post: IFRAME DIVs and form fields

8. 2nd Post: Programmatically controlling printing...

9. 2nd Post - AT Jobs not starting WSHs

10. HP4MV printer banner page(2nd post)

11. Obfuscated PostScript contest (2nd posting)

12. Notify if Service is Stopped

 

 
Powered by phpBB® Forum Software