Last update: Thu Sep 10 17:12:36 2009
RSP Zip
Compressor OCX 1.5.1
Release
date(Thu Sep 10 17:12:36 2009)



ActiveX OCX to compress , uncompress , delete , test and list zip
files
What is new in the version 1.5.1 (Thu Sep 10 17:08:26 2009) Small internal update, requires rspzip.dll, rspunzip.dll
What is new in the
version 1.4.0 (16/Nov/2004 12:00)
Fixed a bug that will not allow the compression of a unique file in the selection , in
this case the control will return a 'nothing to do error' , to reproduce the problem just
select a file that is available in the folder with the files to compress and select it to
compress , as you will see the control will not compress the file , only selections that
has a wildcard on the selection will work , fixed in this version , now you can compress
single files without problem , minor bugs fixed also
What is new in
the version 1.3.0 (09/Feb/2004 15:41) Added CPU detection code , added cpu priority selection code , enhanced the compression and decompression
engine , the version 1.3.0 can compress files
10 to 15 percent faster than version 1.0.0 ,
fixed some xml parser error codes that may return wrong information , added more error
verifications , fixed minor bugs
The upgrade is free to licensed users for
two years
Description
The RSP Zip Compressor OCX can handle zip files
with or without passwords , created with pkware or Info-zip based compressors
The compressor and decompressor is based on Info-zip
Due to some known Info-Zip limitations the control has several workarounds to avoid
problems , and a page with the list of workarounds or known Info-Zip bugs is available in
the RSP Info-Zip Known Bugs
The code receive information about the zip file , destination directory , password ,
arguments and options regarding compression or decompression using an xml like parser that
can accept several commands
The list of commands and description of use is available in the page RSP Zip Compressor Commands
With the parser it is more easy to detect errors in the information passed to the
compressor or decompressor and the commands are intuitive
It will avoid ambiguities on the compression or decompression code , since the parser will
evaluate each command and return an error code if the command isnot accepted
And it will inform about missing commands or modifications required in the commands in
order to work
With the parser it will be more easy to compress or decompress zip files since you only
need to know about the commands and all the commands are intuitive making it a good
solution to use zip compression in any application using only a few lines of code , and
with full zip compression error handling
For each error , a description of the error will return , with the description it is very
easy to understand what goes wrong , and how to avoid the same error in the future
The goal of this software is to provide as a development tool a control to both OCX and
.Net framework development capable of generating a full zip utility running very fast in
order to make it possible to anyone interested in zip compression to use it without
possible bugs .
The sample project available with the package will show how to construct the commands and
how to use the zip , unzip and list zip functions
We are open to discussion about a better way to receive information about the compression
or decompression
If you have a better way to pass information to the control regarding the compression or
decompression , send email to info@rspsoftware.8x.com.br
And inform about bugs in the control as soon as possible , with the information we can
track and fix the possible problems quickly
Functions
The version 1.3.0 functions
and their descriptions (14/Apr/2004 11:14)
Method About
Public Function About()
This function will bring up the
aboutbox of the control
Method ControlName
Public Function ControlName() As String
This function will retrieve the name
of the control
Method GetCPUBrandString
Public Function GetCPUBrandString() As String
This function will retrieve the brand
string name embedded in the installed processor ( if available , of course )
Method GetCPUSpeed
Public Function GetCPUSpeed() As String
This function will retrieve the speed
of the processor , notice that the function needs one second to finish
Method GetCPUVendor
Public Function GetCPUVendor() As String
This function will retrieve the vendor
string name embedded in the installed processor
Method Goto_RSPSoftware
Public Function Goto_RSPSoftware()
It will just start your default
browser and connect to our primary homepage at http://rspsoftware.clic3.net
Method ListZip
Public Function ListZip(ByVal filename As String, Optional ShowFolders As Boolean = False)
As Long
This function will list the
information available on the zip file using the event ZipInformation , so , for each entry
in the zip file the event will be raised with all the information passed as arguments
filename : the Zip file to retrieve the information
ShowFolders : this boolean value will define whether the folders entry will appear in the
information passed in the event
Winzip don't show the folders entries , this mean that there is more information on the
zip file that are not visible with Winzip
Setting the ShowFolders to true will make the folders available on the zip file to appear
as additional entries
For full compatibility with Winzip just set ShowFolders to false ( default )
Method RSPBrowseForFolder
Public Function RSPBrowseForFolder(Title As String, InitDir As String) As String
This is a help function to the control
, in order to add folder selection directly in the control
A call to this function will return the selected folder , with UNC path support
Method RSPZipCancel
Public Function RSPZipCancel()
This function will cancel the
execution of the compression or decompression
Method RSPZipCompress
Public Function RSPZipCompress(Command As String)
This is the function to compress files
to a destination zip file
Command : This is the string that has the commands that will inform the control about what
to do
For a complete list of the commands and the way to pass the information to this function
take a look in the link : rspzipcommands.htm
Method RSPZipPause
Public Function RSPZipPause()
This function will pause the execution
of the compression or decompression
Method RSPZipResume
Public Function RSPZipResume()
This function will resume the
execution of the compression or decompression
Method RSPZipUncompress
Public Function RSPZipUncompress(Command As String)
This is the function to uncompress
files
Command : This is the string that has the commands that will inform the control about what
to do
For a complete list of the commands and the way to pass the information to this function
take a look in the link : rspzipcommands.htm
Method SetProcessorPriority
Public Function SetProcessorPriority(ByVal Priority As Long)
This function will set the processor
priority of the compress or uncompress execution , the Priority value range from 1 to 7 ,
1 to idle execution time , and 7 to real time execution
Event ErrorCode
Public Event
ErrorCode(ErrorNumber As Long, ErrorDescription As String)
This event will return the errors
generated in the control
Valid error codes and description are :
0, "No error"
2, "The input file is the same as the output"
3, "The input file is empty "
4, "The outputfile file is empty "
5, "The input file or path is invalid"
6, "The output file or path is invalid"
30, "Already running , wait for the end of execution before calling the
RSPZipUncompress again"
31, "Already running , wait for the end of execution before calling the
RSPZipCompress again"
32, "Invalid processor priority level"
255, "Unexpected error"
Event Finished
Public Event Finished(ReturnCode As Long, ReturnDescription As String)
This event will be raised in the end
of execution of the control
It will return the zip or unzip return code and description
In case of errors the return value will be different of 0
Event Progress
Public Event Progress(Progress As Long)
This event will inform the actual
progress position of the compression or decompression
Event Status
Public Event Status(value As Long)
This event will return the status of
the execution of the control
0 : not running
1 : executing
Event Warning
Public Event Warning(WarningCode As Long, WarningDescription As String)
It will return the warnings occurred
in the control , with description
Warnings are not errors , but it may affect the normal execution of the control
Event ZipInformation
Public Event
ZipInformation(filename As String, CRC32String As String, Version As Long, wYear As Long,
wMonth As Long, wDayOfWeek As Long, wDay As Long, wHour As Long, wMinute As Long, wSecond
As Long, wMilliseconds As Long, crc32Long As Long, Compressedsize As Long,
Uncompressedsize As Long, NumberOfEntries As Long, NumFolders As Long, NumFiles As Long,
Ratio As Long, IsEncrypted As Boolean, ZipCompressionMethod As Long)
This event will return the list of
informations available on the zip file
filename : the file name ( entry ) or folder name
CRC32String : the crc32 of the file name
Version : the zip decompression version required to decompress this entry
wYear : the year that the file was created
wMonth : the month that the file was created
wDayOfWeek : the day of week that the file was created
wDay : the day that the file was created
wHour : the hour that the file was created
wMinute : the minute that the file was created
wSecond : the second that the file was created
wMilliseconds : the millisecond that the file was created
crc32Long : the CRC32 of the entry as long
Compressedsize : the compressed size of the entry
Uncompressedsize : the uncompressed size of the entry
NumberOfEntries : the number of entries ( files and folders ) available on the zip file
NumFolders : the number of folders available on the zip file
NumFiles : the number of files (entries) available on the zip file
Ratio : the compression ratio of the entry
IsEncrypted : whether the entry is encrypted
ZipCompressionMethod : the compression method use to compress the entry
Documentation
Documentation of RSP
Zip Compressor OCX 1.3.0 - 1.4.0
Documentation of RSP Zip
Compressor OCX 1.0.0
The documentation about the commands and how to use it is
available in the
RSP Zip Compressor Commands
The information about bugs and limitations of the Info-Zip
compression is available in the
RSP Info-Zip Known Bugs
Install
Install
- Execute register_ocx.exe , if Vista then admin
UnInstall
- Execute unregister_ocx.exe , if Vista then admin
Operating System Compliance
Windows 95 , Windows 98 , Windows Millenium ,
Windows NT 4.0(sp6a) , Windows 2000 , Windows XP
Download
All our
software is also available to download from Winsite , click here to access our Winsite page

RSP Zip Compressor OCX 1.5.1 RSP Zip Compressor OCX 1.5.0 link 0 RSP Zip Compressor OCX 1.4.0 link 0
Size 236,474 bytes
MD5 checksum
d5880479c47aee9943407999e96d2fbb
RSP Zip Compressor OCX 1.3.0 link 0
RSP Zip Compressor OCX 1.0.0 link 0
Register
The registration grants to you free upgrades
for two years
This control is available to register at
Shareit! , click in the link below to register

After the registration the licensed version will be emailed to you , thanks for
considering the registration
|