Chilkat
HOME
Android™
ASP
Visual Basic
VB.NET
C#
iOS (IPhone)
Objective-C
C++
C
MFC
Delphi
FoxPro
Java
Perl
PHP Extension
PHP ActiveX
Python
PowerShell
Ruby
SQL Server
VBScript
|
|
Stop a Windows Service
Stop a Windows service. Note:This software is available as a pre-release. Download the Chilkat Service ActiveX here: ChilkatService.zip <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> </head> <body> <% set service = Server.CreateObject("Chilkat.Service") service.ServiceName = "MyService" success = service.Stop() If (success <> 1) Then Response.Write "Failed to stop service." & "<br>" Response.Write Server.HTMLEncode( service.LastErrorText) & "<br>" End If Response.Write "Windows Service Stopped!" & "<br>" %> </body> </html> |
© 2000-2012 Chilkat Software, Inc. All Rights Reserved.