VBScript Examples

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


VBScript Examples

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

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

 

 

 

 

 

 

 

String-to-String Compression in VBScript

Download Chilkat Crypt ActiveX

Demonstrates how to do string-to-string compression using BZIP2 compression in VBscript.

set crypt = CreateObject("Chilkat.Crypt2")
crypt.UnlockComponent "30-day trial"

crypt.EncodingMode = "Base64"

' Create something to compress
myStr = "<test>"
for i = 0 to 30
	myStr = myStr + "This is test data to be compressed. " + vbCrLf
next
myStr = myStr + "</test>"

' Show the original.
MsgBox myStr

' Compress and display the output.
MsgBox crypt.CompressStringENC(myStr)

 

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

Mail Component · XML Parser