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?

--

Thanks.


"Mike D Sutton" <EDais@xxxxxxxx> wrote in message
news:%23s%23u$%23WaFHA.1448@xxxxxxxxxxxxxxxxxxxxxxx
>> I want to be check the contents of a .zip file for a certain icon(.ico
>> file)
>> and if it exists, display the icon in a picturebox. What is the best way
>> to
>> do this, preferably without third party controls.
>
> Have a look at this old post for how to parse a .ZIP file header in VB (no
> 3rd party libraries required):
> http://groups.google.co.uk/group/microsoft.public.vb.general.discussion/msg/af374a38d8cfe0fb
> Hope this helps,
>
> Mike
>
>
> - Microsoft Visual Basic MVP -
> E-Mail: EDais@xxxxxxxx
> WWW: Http://EDais.mvps.org/
>
>


.



Relevant Pages

  • 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: 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: Dynamically create icon/bitmaps add to Listimage
    ... Thanks for your help, Mike. ... It will definitely help - this looks like a good way to go. ... >> I have a an array of picturebox controls which will go into an imagelist ... > There are two images in a PictureBox control, ...
    (microsoft.public.vb.winapi.graphics)
  • Re: Scroll bars in image
    ... Why you load the image in the paint event? ... You just load it once and that's all, after that all you would have to do ... When I click on the button I load an image, the picturebox has SizeMode set ... I added a scrollbar next to the panel, this is the code for the handler ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Scroll bars in image
    ... >> You just load it once and that's all, after that all you would have to ... >> When I click on the button I load an image, the picturebox has SizeMode ... >> Florida Department Of Transportation ...
    (microsoft.public.dotnet.languages.csharp)