Re: Reading the contents of a zip file



> 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/


.



Relevant Pages

  • Re: Reading the contents of a zip file
    ... >> Mike, this is a great way to search the .zip for a file! ... >> file and I want to load it into a picturebox, do I have to extract it ... > You would still need to extract it (unless the .ZIP file is stored using ... > headers but you've got both there should you wish to do some testing. ...
    (microsoft.public.vb.general.discussion)
  • Re: Follow-up Note for DavidF and Mike
    ... can see the different image placeholders load along with the ALT tags. ... adjust your layout so that nothing overlaps the navbar text box. ... Post back when you want Mike or I to look at it. ... The Kat wrote: ...
    (microsoft.public.publisher.webdesign)
  • Re: Easy Reading - Promotion of Numberless Cryptography - Adacrypt
    ... Everyone fucking eliminate toward glad tall caves. ... Do not extract the ... protections fiercely, load them behind. ...
    (sci.crypt)
  • Re: Mike D Sutton please need help....
    ... Now that I have the graphical part arranged (thanks to Mike) I need to ... So I need to load the Person on the page with: ... CircPts = GetCirclePoints(rs2.RecordCount, CircleHeight, Me.ScaleWidth ... 'boxes' to these points and use your existing drawing code as-is. ...
    (microsoft.public.vb.winapi.graphics)
  • Re: Script/Command to extract XYZ.ra URL from XYZ.ram files
    ... Mike: ... the sort you find all over the BBC's "Listen ... again" pages, will extract the URL within it, the real something.ra ... It is probably trivial for a knowledgeable scripter, ...
    (alt.os.linux)