Visual Basic Examples

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

VB Examples

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

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


VB Strings
VB Byte Array

 

 

 

 

 

 

 

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.

Dim service As New ChilkatService

service.ServiceName = "MyService"

'  returns -1 for failure (inability to check)
'  returns 1 if running.
'  returns 0 if not running.
Dim retval As Long
retval = service.IsRunning()
If (retval < 0) Then
    MsgBox "Failed to query service control manager"
Else
    If (retval = 1) Then
        MsgBox "Service is running"
    Else
        MsgBox "Service is not running"
    End If

End If

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