![]() |
Click here to advertise with us
|
|
|||||||
| Non-GUI Discussion of non-GUI components such as compression, encryption, registration, activation, etc. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
You have to get hold of third party libraries that will do the job, for example sharpziplib
Unless you meant compression not related to the standard Zip file format, there is the System.IO.Compression namespace that enable you to compress/decompress stream of data for example to a file with the Gzip or Deflate method.
__________________
Some useful links: Learning videoes, Code Samples, WMI Code Creator, MSDN, The Code Project, WindowsClient.net, ASP.net, W3 Schools, Regular-Expressions.info, GDI+ FAQ
How to format posts with code blocks etc - present the problem/post properly ![]() |
|
|||
|
I was able to find procedure using API calls for doing this before and if you dig long enough you'll find a way to do it yourself. I didn't make use of it after I found it so I don't have any information to give you other than I did find a solution. It was a tricky business though with some factors that I myself didn't understand. Also, here is what appears to be an article from the maker or zipsharp that explains how he accomplished zipping files with the .NET framework. He used the J# installed utilities in which he describes how to use yourself. That might help you get on the right path. In the end I would suggest just going with JohnH's idea and just using the free sharpziplib. All the code is already written and it's free.
__________________
Triple G^3 - Get Stuck on It!The Angels will sing for me tonight. The Holy Spirit will comfort me. And as hard as the wind blows; I'll be ahead of it! Last edited by ImDaFrEaK; 01-01-2007 at 11:00 AM. |
|
||||
|
That's right, I forgot this also, you can use the Shell automation for zip archives too, see How do place files in zip folder programmitcally
__________________
Some useful links: Learning videoes, Code Samples, WMI Code Creator, MSDN, The Code Project, WindowsClient.net, ASP.net, W3 Schools, Regular-Expressions.info, GDI+ FAQ
How to format posts with code blocks etc - present the problem/post properly ![]() |
|
|||
|
LOL, that's a link to my first thread on trying to learn this. Looks like you were the one to point me in the same direction that I pointed him into.
__________________
Triple G^3 - Get Stuck on It!The Angels will sing for me tonight. The Holy Spirit will comfort me. And as hard as the wind blows; I'll be ahead of it! |
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|