GZip Function Reference

sZip

GZip Function Reference | Example

This function creates a zip file.

<DllImport("SapphireGZip.dll")> _
Public Function sZip(ByVal sFileIn As String, ByVal sFileOut As String, ByVal lSubDirs As Integer, ByVal lLicence As Integer) As Integer
End Function

Parameters

  sFileIn
    A string specifying the name or pattern of the file(s) to compress.
  sFileOut
    A string specifying the name of the .zip file to create.
  lSubDirs
    An integer specifying whether to include sub directories in the compression.
  lLicence
    An integer specifying the licence number of the registered utility. If using in demo mode, enter 1234567890.

Return Values

  Returns a number indicating success or failure where 0 is successful.