Visual Basic Examples

ChilkatHOMEASPVisual BasicVB.NETC#Visual C++CMFCDelphiFoxProJavaPerlPHPPythonRubySQL ServerVBScript

VB Examples

Bounced Mail
Character Encoding
Digital Certificates
Digital Signatures
Email
FTP
HTML-to-XML
HTTP
IMAP
Encryption
MHT / HTML Email
RSA Encryption
S/MIME
Socket
Spider
String
Tar
Unicode
Upload
XML
XMP
Zip Compression

More Examples...
Email Object
POP3
SMTP
RSS
Atom
Self-Extractor


VB Strings
VB Byte Array

Unreleased...
Service
PPMD
Deflate
Bzip2
LZW
Bz2
DH Key Exchange
DSA
Icon

 

 

 

 

 

 

 

.Z Unix Compress and Uncompress

Download Chilkat Zip ActiveX

Visual Basic 6.0 example to compress and uncompress Unix .Z compress format files.

    ' Add a reference to the Chilkat UnixCompress component in your VB6 project.
    ' The UnixCompress component is included in the "Chilkat Zip" license
    Dim z As New UnixCompress
    z.UnlockComponent "anything for 30-day trial"
    
    ' The Unix compress file format is not an archive that contains many
    ' files, such as .zip or .tar.  It is a file format that compresses
    ' a single file.
    fname = "test.txt"
    
    ' Compress the file, creating an output file with the original
    ' filename + ".Z"
    z.CompressFile fname, fname & ".Z"
    
    ' To uncompress:
    z.UncompressFile fname & ".Z", "uncompressed.txt"


 

Need a specific example? Send a request to support@chilkatsoft.com

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