Created by our partner:
FileCompression can not be instantiated. The class contains just one function that can be used to compress or expand a file. This can be used if your application produces large data-files that you don't want to use to much space on your harddrive.
Be the first to leve a comment or ask a question about the code!
Here is an example how to use it:
FileCompression.GZip(FileCompression.Modes.Compress, "C:\Hello.txt", "C:\hello.gz")
FileCompression.GZip(FileCompression.Modes.Decompress, "C:\hello.gz", "C:\hello.txt")
GZip(Mode As Modes, SourceFilename As String, DestinationFilename as String)
Use Mode to set if you want to compress or expand SourceFilename to DestinationFilename. The function can cast a number of IO-exceptions, IE. FileNotFoundException if the source file is missing.