Chilkat HOME ASP Visual Basic VB.NET C# Visual C++ C MFC Delphi FoxPro Java Perl PHP Python Ruby SQL Server VBScript
|
.Z File CompressionUse LZW compression to create a .Z compressed file. Compresses any single file into a .Z format compressed file. (Chilkat's .Z compression functionality is included as part of the Chilkat Zip license.) set uc = CreateObject("Chilkat.UnixCompress") ' Any string unlocks the component for the 1st 30-days. success = uc.UnlockComponent("Anything for 30-day trial") If (success <> 1) Then MsgBox uc.LastErrorText WScript.Quit End If success = uc.CompressFile("hamlet.xml","hamlet.xml.Z") If (success <> 1) Then MsgBox uc.LastErrorText Else MsgBox "Success." End If |
Need a specific example? Send a request to support@chilkatsoft.com
© 2003-2007 Chilkat Software, Inc. All Rights Reserved.