Creating Archives

Many applications need to save several grids (or tables) rather than one. In these cases, the Archive method allows you to consolidate many files, optionally compressing them, into a single file. The Archive method has parameters that allow you to add, remove, or extract files from the archive. The ArchiveInfo property allows you to extract information from an archive file, such as the number of files in the archive, their names, sizes, compressed sizes, and dates. Archive and ArchiveInfo are not limited to files created with the SaveGrid method: they work with any file and could even be used to create a stand-alone compression utility.

Archive files created with the Archive method are not compatible with ZIP files, although their compression ratios are similar.