Hi Guys,

I tried searching on the net for a code to compress/zip files in VB.Net, but could not find any solution.

Can anyone help me with this - I do not like that one of using 3rd party components to do this.

Alternatively, I need a code that will do that WinXP compression function.
When you right-click on a file or folder in WinXP, there is that Send To -> Compressed (zipped) folder. I need to do that programmatically.

Thank you in advance.

compressing files is a very complex algorithm. gzip is a free open-source library. Or if you want to spend the $$$ you can buy the libraries from pkware, the originator of the zip format.

Hi,

Another option is ..

If you have WINZIP product installed on your desktop you could use PROCESS.

Look it up on Google to see how to use it with WINZIP.

Good Luck!
:)

This article has been dead for over six months. Start a new discussion instead.