473,503 Members | 1,700 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

J# Zip Question Again

Do you know or have any examples on how to get
ZipOutputStream/ZipInputStream classes so it can
compress/uncompress without writing to a file, I
basically want to pass in a string so it gets compressed
by either using GZip or Zip, then I want to pass in the
compression string and uncompress it either by using GZip
or Zip?

Please note that I've looked at Inflater and Deflater but
it does not seem to use the Zip and GZip compression.

Thanks

Nov 16 '05 #1
3 1325
BuddyWork,

Have you looked at the Sharp Zip Library for .NET? It should do what
you need. You can find it at (watch for line wrap):

http://www.icsharpcode.net/OpenSourc...b/Default.aspx

Also, in .NET 2.0, there is a namespace for compression which has
classes that you might want to take a look at.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"BuddyWork" <an*******@discussions.microsoft.com> wrote in message
news:3f****************************@phx.gbl...
Do you know or have any examples on how to get
ZipOutputStream/ZipInputStream classes so it can
compress/uncompress without writing to a file, I
basically want to pass in a string so it gets compressed
by either using GZip or Zip, then I want to pass in the
compression string and uncompress it either by using GZip
or Zip?

Please note that I've looked at Inflater and Deflater but
it does not seem to use the Zip and GZip compression.

Thanks

Nov 16 '05 #2
Hello Nicholas,

Thanks for the reply, I have looked at SharpZipLib but we
want to use the J# Zip library due to the public license
on SharpZipLib.

Thanks,
-----Original Message-----
BuddyWork,

Have you looked at the Sharp Zip Library for .NET? It should do whatyou need. You can find it at (watch for line wrap):

http://www.icsharpcode.net/OpenSourc...ZipLib/Default ..aspx
Also, in .NET 2.0, there is a namespace for compression which hasclasses that you might want to take a look at.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"BuddyWork" <an*******@discussions.microsoft.com> wrote in messagenews:3f****************************@phx.gbl...
Do you know or have any examples on how to get
ZipOutputStream/ZipInputStream classes so it can
compress/uncompress without writing to a file, I
basically want to pass in a string so it gets compressed by either using GZip or Zip, then I want to pass in the
compression string and uncompress it either by using GZip or Zip?

Please note that I've looked at Inflater and Deflater but it does not seem to use the Zip and GZip compression.

Thanks

.

Nov 16 '05 #3
On Mon, 4 Oct 2004 07:28:23 -0700, "BuddyWork"
<an*******@discussions.microsoft.com> wrote:
Hello Nicholas,

Thanks for the reply, I have looked at SharpZipLib but we
want to use the J# Zip library due to the public license
on SharpZipLib.

<snip>
Re-read the license. From
http://www.icsharpcode.net/OpenSourc...b/Default.aspx

"Bottom line In plain English this means you can use this library in
commercial closed-source applications."

Austin
Nov 16 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
4053
by: Phil Powell | last post by:
I am having this problem: My PHP script will set a cookie, it's there in my /Cookies folder. I delete the cookie (I have to for testing purposes, the PHP script I run behaves according to this...
5
4596
by: Bruce | last post by:
I have a number of forms that do significant work based on variables POSTed from the form. What is the common method of detecting and preventing this work from being done when the form is POSTed as...
1
1432
by: Jiten | last post by:
Hi Cor I spoke with u previously about this problem i had and u gave me some code that helped me. That code worked fine but i have now encountered another issuee that im hoping u may know how to...
8
1865
by: jon morgan | last post by:
OK, I'm going to be brave. There is a bug in VS.Net 1.1 that causes random compiler errors. I have raised this issue in posts at least three time in the past couple of months without attracting...
17
3361
by: Gabriel Mejía | last post by:
Services or applications using ActiveX Data Objects (ADO) 2.0 or greater may intermittently return empty recordsets on queries that should be returning valid results. At the time the problem...
3
1789
by: penny336 | last post by:
dear all, i am using vc++ 6.0 sp5 i have a class called Address,it allocated some memory space for streetname and city i first define it as Address add = new Address("Madrian","UK"); ......
11
2732
by: Steven T. Hatton | last post by:
In the past there have been lengthy discussiions regarding the role of header files in C++. People have been very adamat about header files serving as in interface to the implementation. I do...
6
2304
by: teedilo | last post by:
We have an application with a SQL Server 2000 back end that is fairly database intensive -- lots of fairly frequent queries, inserts, updates -- the gamut. The application does not make use of...
34
3224
by: Reinhold Birkenfeld | last post by:
Hi, the arguments in the previous thread were convincing enough, so I made the Path class inherit from str/unicode again. It still can be found in CVS:...
5
3975
by: Mike TI | last post by:
March 24, 2006 Hi all I am new to VB.NET and am using VB.NET 2005. I have an MDI form with a Split Container Control. On demand I am adding and removing User Controls on Panel 2. I am using...
0
7201
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7083
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7278
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7328
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6988
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7456
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5011
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3166
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3153
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.