Delphi Database, Delphi Components from ComponentAce
Products Download Order Contact us
TZipForge.OpenArchive
TZipForge    Example1      Example2
Top 


Opens or creates an archive file.

procedure
OpenArchive; overload;
procedure OpenArchive(Mode: Word); overload;
procedure OpenArchive(Stream: TStream; Create: Boolean); overload;

Description
Call OpenArchive to open or create an archive file. If file specified by FileName property does not exists, Create parameter is set to True or InMemory property is set to True then OpenArchive will create and open it. OpenArchive sets Active to True.

Mode parameter specifies open mode constant like in TFileStream.Create or FileOpen function.

Stream specifies TStream descendant object with the archive contents. If you use this form of the OpenArchive InMemory and FileName will be ignored. This variant can be used if you want to store archive in TFileStream, TMemoryStream, BLOB stream or any other TStream descendant object.

The Create parameter determines if file should be created.

Note: Call CloseArchive to close the archive file.
        © 2003 - 2024 ComponentAce  | .net zip component | barcode for .net | delphi zip component | delphi database Nov 24, 2024 
        © 2003 - 2024 ComponentAce  | .net zip component | barcode for .net | delphi zip component | delphi database Nov 24, 2024