473,401 Members | 2,127 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,401 software developers and data experts.

unzipping files

Hi Guys

I need a dll that just unzips zipped files...does anyone know of a freeware
or cheapo shareware one that does this. I know there are quite a lot of
rather sophisticated ones out there that do achiving and password protection
and create achives and bells and whistles but they are $100+ and I am
reluctant to pay for all that functionality when I don't need it...I just
want to unzip non-password protected achives

tia

Paul BJ
Nov 15 '05 #1
7 4030
Paul,
look this:
http://msdn.microsoft.com/msdnmag/is...n/default.aspx

hope it help

[]´s
Lafayette
"Paul Brownjohn" <pa*************@skynet.be> wrote in message
news:40*********************@news.skynet.be...
Hi Guys

I need a dll that just unzips zipped files...does anyone know of a freeware or cheapo shareware one that does this. I know there are quite a lot of
rather sophisticated ones out there that do achiving and password protection and create achives and bells and whistles but they are $100+ and I am
reluctant to pay for all that functionality when I don't need it...I just
want to unzip non-password protected achives

tia

Paul BJ

Nov 15 '05 #2
There is also a win32 API for doing this if you don't want to rely on the JSharp runtime. Take a look at
http://msdn.microsoft.com/library/de...single_file.as

In particular, the LZOpenFile function and it's related calls

Jackson Davis [msft
--
Please post questions to the newsgroup - everyone benefits
This post is provided "AS IS" with no warranties, and confers no right
Sample code subject to http://www.microsoft.com/info/cpyright.ht

Nov 15 '05 #3
Hmm...that's something I haven't tried and didn't know you could do. This is
I take it, a standard Win API call, nothting to do with the .NET framework.
How do you use a a standard API call from within C#?

Cheers

PaulBJ


"Jackson Davis [MSFT]" <an*******@discussions.microsoft.com> wrote in
message news:7B**********************************@microsof t.com...
There is also a win32 API for doing this if you don't want to rely on the JSharp runtime. Take a look at http://msdn.microsoft.com/library/de...us/fileio/base
/decompressing_a_single_file.asp
In particular, the LZOpenFile function and it's related calls.

Jackson Davis [msft]
--
Please post questions to the newsgroup - everyone benefits.
This post is provided "AS IS" with no warranties, and confers no rights
Sample code subject to http://www.microsoft.com/info/cpyright.htm

Nov 15 '05 #4
Paul Brownjohn <pa*************@skynet.be> wrote:
I need a dll that just unzips zipped files...does anyone know of a freeware
or cheapo shareware one that does this. I know there are quite a lot of
rather sophisticated ones out there that do achiving and password protection
and create achives and bells and whistles but they are $100+ and I am
reluctant to pay for all that functionality when I don't need it...I just
want to unzip non-password protected achives


SharpZipLib comes up quite often, which I'm sure will do what you want.
http://www.icsharpcode.net/OpenSourc...b/Default.aspx

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Nov 15 '05 #5
PInvoke it using DLLImpor

Jackson Davis [msft
-
Please post questions to the newsgroup - everyone benefits
This post is provided "AS IS" with no warranties, and confers no right
Sample code subject to http://www.microsoft.com/info/cpyright.ht

----- Paul Brownjohn wrote: ----

Hmm...that's something I haven't tried and didn't know you could do. This i
I take it, a standard Win API call, nothting to do with the .NET framework
How do you use a a standard API call from within C#

Cheer

PaulB


"Jackson Davis [MSFT]" <an*******@discussions.microsoft.com> wrote i
message news:7B**********************************@microsof t.com..
There is also a win32 API for doing this if you don't want to rely on th

JSharp runtime. Take a look a

http://msdn.microsoft.com/library/de...-us/fileio/bas
/decompressing_a_single_file.as
In particular, the LZOpenFile function and it's related calls
Jackson Davis [msft

-
Please post questions to the newsgroup - everyone benefits
This post is provided "AS IS" with no warranties, and confers no right
Sample code subject to http://www.microsoft.com/info/cpyright.ht

Nov 15 '05 #6
Jackson Davis [MSFT] wrote:
There is also a win32 API for doing this if you don't want to rely on the JSharp runtime. Take a look at
http://msdn.microsoft.com/library/de...ingle_file.asp

In particular, the LZOpenFile function and it's related calls.


Unless I'm missing some documentation, these APIs do not deal with Zip
archives - these APIs are used to compress or decompress individual files.

--
mikeb
Nov 15 '05 #7
yes, this is true. This API only works on single files compressed via LZ. However, Paul originally asked for a cheapo way to decompress that doesn't involved password protection or archiving. It won't work for actual zip archives

Jackson Davi
-
This post is provided "AS IS" with no warranties, and confers no right
Sample code subject to http://www.microsoft.com/info/cpyright.ht

Nov 16 '05 #8

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

Similar topics

1
by: Doug Tolton | last post by:
Is there a simple way to zip and unzip files? I'm looking for something along the lines of: zfile = zipfile(r'c:\somefile.zip') zfile.extract(r'c:\somefiles') I've looked at the...
1
by: Greg Lindstrom | last post by:
Hello- I am trying to read a file from a zip archive. I have read the documentation on zipfile and can read the names of the files in the archive and the length of each file, but do not see how...
3
by: seash | last post by:
H My application creates two files , i have to zip these two files to a a single file, how to use winzip functionality in c# Is there any builtin functions available with visual c# the two file...
7
by: thewhoracle | last post by:
I have a C# application that essentially builds batch and text files and runs them from the command line, but i need to unzip something from the command line. What i need is either an unzipping...
0
by: stjulian | last post by:
On Windows Server 2003, IIS 6 I am looking for an unzipping component. I have a series of files that are available zipped at a considerable decrease in size. And before ASPINET fails on a script...
2
by: bjm | last post by:
I created a self extracting zip file with about 9000 files in it. I extracted it manually from the command line without a problem. However, when I tried to do the same extraction at the same...
0
by: avik1612 | last post by:
Hi, I have created a program to unzip the file. It is unzipping the zip files when put in directory i.e folder inside folder but when i create a zip file without putting in a folder and try to...
1
by: kss | last post by:
Hey all, I am new to python and I need to unzip a zip file which is password protected. I tried using zipfile class. Aparently, when i try doing a zip.read(filename), it throws an exception stating...
1
by: deepakd | last post by:
Hi I'm using wxZipInputStream for unzipping a zipped ".app" file in MAC OS.After unzipping i am not able to run the app.When i manually copy the unix executable to app packages, I am able to run...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
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
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...
0
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...
0
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...

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.