Re: Reading the contents of a zip file
- From: "Mike D Sutton" <EDais@xxxxxxxx>
- Date: Sun, 5 Jun 2005 10:22:12 +0100
> Mike, this is a great way to search the .zip for a file! Now if I find the
> file and I want to load it into a picturebox, do I have to extract it first
> or is there a way I can load it from the .zip?
You would still need to extract it (unless the .ZIP file is stored using no compression in which case you can just offset to the
correct part of the file and read out the bytes - this will not often be the case though..) Once you find the file you're after
you'll need to fall back on a 3'rd party library to extract the file(s), I'm not sure which method would be faster to parse the
headers but you've got both there should you wish to do some testing.
Hope this helps,
Mike
- Microsoft Visual Basic MVP -
E-Mail: EDais@xxxxxxxx
WWW: Http://EDais.mvps.org/
.
- Follow-Ups:
- Re: Reading the contents of a zip file
- From: Saucer Man
- Re: Reading the contents of a zip file
- References:
- Reading the contents of a zip file
- From: Saucer Man
- Re: Reading the contents of a zip file
- From: Mike D Sutton
- Re: Reading the contents of a zip file
- From: Saucer Man
- Reading the contents of a zip file
- Prev by Date: Re: Adjusting Contrast or Brightness in VB6
- Next by Date: Re: cry for help
- Previous by thread: Re: Reading the contents of a zip file
- Next by thread: Re: Reading the contents of a zip file
- Index(es):
Relevant Pages
|