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
Start a Windows ServiceStart a Windows service. Note:This software is available as a pre-release.
use chilkat(); $service = new chilkat::CkService(); $service->put_ServiceName("MyService"); $success = $service->Start(); if ($success != 1) { print "Failed to start service." . "\n"; print $service->lastErrorText() . "\r\n"; exit; } print "Windows Service Started!" . "\n"; |
© 2000-2010 Chilkat Software, Inc. All Rights Reserved.