ASP Examples

ChilkatHOMEAndroid™ASPVisual BasicVB.NETC#iOS (IPhone)Objective-CC++CMFCDelphiFoxProJavaPerl
PHP ExtensionPHP ActiveXPythonPowerShellRubySQL ServerVBScript

ASP Examples

ASP String
ASP Byte Array
Bounced Mail
Bz2
Character Encoding
CSV
Digital Certificates
Digital Signatures
Email
FTP
HTML Conversion
HTTP
IMAP
Encryption
MHT / HTML Email
POP3
RSA
S/MIME
SMTP
Socket
Spider
SSH
SSH Tunnel
SSH Key
SFTP
Tar
ASP Upload
XML
XMP
Zip Compression

More Examples...
Amazon S3
Email Object
DKIM / DomainKey
NTLM
DH Key Exchange
DSA
FileAccess
RSS
Atom
Self-Extractor
Service
PPMD
Deflate
Bzip2
LZW

 

 

 

 

 

 

Determine if Service is Running

Download Chilkat Socket ActiveX

Determine if a Windows service is currently running.

Note:This software is available as a pre-release.

Download the Chilkat Service ActiveX here: ChilkatService.zip
Unzip and register with regsvr32.

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<%
set service = Server.CreateObject("Chilkat.Service")

service.ServiceName = "MyService"

'  returns -1 for failure (inability to check)
'  returns 1 if running.
'  returns 0 if not running.

retval = service.IsRunning()
If (retval < 0) Then
    Response.Write "Failed to query service control manager" & "<br>"
Else
    If (retval = 1) Then
        Response.Write "Service is running" & "<br>"
    Else
        Response.Write "Service is not running" & "<br>"
    End If

End If

%>
</body>
</html>

 

© 2000-2012 Chilkat Software, Inc. All Rights Reserved.