ChilkatRarEntry ActiveX Reference (Visual Basic)

ChilkatRarEntry

Properties

CompressedSize As Long (read-only)

The compressed size in bytes of the file within the RAR archive. Directories have a compressed size of 0.

Crc As Long (read-only)

The CRC checksum.

Filename As String (read-only)

The filename, which can include a relative directory path.

IsDirectory As Long (read-only)

1 if the entry is a directory, 0 if it is a file.

IsReadOnly As Long (read-only)

1 if the file permissions are set to read-only after extraction. Otherwise set to 0 for read-write.

LastErrorHtml As String (read-only)

Error information in HTML format for the last method called.

LastErrorText As String (read-only)

Error information in plain-text format for the last method called.

LastErrorXml As String (read-only)

Error information in XML format for the last method called.

LastModified As Date (read-only)

The last-modified date/time of the fille. When extracting, the file's last-mod date/time is set to this value.

UncompressedSize As Long (read-only)

The size (in bytes) of the file when uncompressed.

Methods

SaveLastError(filename As String) As Long

Saves the last error information to an XML formatted file.

Unrar(dirPath As String) As Long

Extracts the file to the dirPath specified.