Reading contents of file in ZIP Archive
I have a bunch of text data files and a VB.NET app to display them, but we're trying to save space and see if there is a way to keep all these text files in a ZIP archive when distributed and then read the individual files in the ZIP archive without having to constantly unzip and rezip everything.
Does anyone know if this is possible?
Thanks,
Andrew
Re: Reading contents of file in ZIP Archive
You are going to need to decompress/unzip anything you view. There's no way around that. If you decompress/unzip it into memory, it won't take anymore space, but I'm not exactly sure of any tools/methods that unzip files to memory, other than creating a ramdisk and unzipping to that ramdisk.
Even programs like WinZip and WinRar, which let you "view" items in a compressed file without extracting them first don't really do this. They unzip to a temporary directory and open the files from that temporary directory.
Re: Reading contents of file in ZIP Archive
Well probably that link could help