Link to home
Start Free TrialLog in
Avatar of CraigLazar
CraigLazar

asked on

VB.net Zip a file

Hi, I please need some help to create a function to compress/zip a file. I do not want to use any 3rd party tools. So i am hoping to find out a way to do it using the Framework and windows. If i can access the windows API to compress the file then that is great thanks.
Avatar of Tapan Pattanaik
Tapan Pattanaik
Flag of India image

ASKER CERTIFIED SOLUTION
Avatar of Éric Moreau
Éric Moreau
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hey, that's a pretty nice article eric.

Check out the one I wrote at TCP:

    http://www.codeproject.com/KB/vb/ZipDemo.aspx

Avatar of CraigLazar
CraigLazar

ASKER

Hi Emoreau,
I am having a problem with a 3rd party zipping component on a machine with 64bit hardware running Windows 2008 server. If i Use framework 3, would i have to install Framework 3(64) on the server?

thanks
You will have to install the Framework 3 for sure. I haven't tried it on a Windows Server 2008.
thanks
Hi Guys,
Thanks allot for all the help. Emoreau, i have awarded the points to u as on ur web page i looked at DotNetZip, downloaded and tested it and its working really well on 32bit and 64bit machines with no code adjustments required.

thanks again guys for the help

cheers