login about faq

I'm looking for a simple code snippet in VB.net to zip a simple list of files like "test.txt,pic.jpg,todo.doc"

asked Apr 04 at 12:51

wizzy411's gravatar image


You would simply call AppendOneFileOrDir for each file, and then call WriteZipAndClose after all file references have been appended.

In summary:

  1. Call zip.NewZip
  2. Call AppendOneFileOrDir once for each file.
  3. Call WriteZipAndClose

answered Apr 05 at 09:59

chilkat's gravatar image

chilkat ♦♦

edited Apr 05 at 09:59

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Apr 04 at 12:51

Seen: 276 times

Last updated: Apr 05 at 09:59

powered by OSQA