473,397 Members | 1,950 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,397 software developers and data experts.

Zippy Windows

Nak
Hi there,

Has anyone got any examples of using Windows API's to compress and
decompress ZIP files. I can't seem to find one example yet I know that the
functionality is in there. I have taken a look at the
SetupDecompressOrCopyFile function which appears to be able to decompress a
ZIP compressed file, but I am unsure if this is the API that Windows uses.

If you have Windows XP and ME (I think) there is integrated ZIP
functionality, right clicking on a folder for example and taking a look in
the "Send To" menu you will see "Compressed (Zipped) folder", I want to be
able to do this in code hopefully *without* using any 3rd part DLL's such as
that of the Sharp Zip library. I'm sure someone else has wanted to do this?
Thanks loads in advance.

Nick.

***
On a more lighter note, has anyone seen the Half Life 2 technical demos?
WOW!

--
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
"No matter. Whatever the outcome, you are changed."

Fergus - September 5th 2003
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
Nov 20 '05 #1
11 3512
there's a post to this question earlier in the week. xp/me does use a 3rd
party dll. you can look up the manufacuter's web site from that post, go to
the site, get their product documentation and proceed with caution.

hth,

steve

"Nak" <a@a.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Hi there,

Has anyone got any examples of using Windows API's to compress and
decompress ZIP files. I can't seem to find one example yet I know that the functionality is in there. I have taken a look at the
SetupDecompressOrCopyFile function which appears to be able to decompress a ZIP compressed file, but I am unsure if this is the API that Windows uses.

If you have Windows XP and ME (I think) there is integrated ZIP
functionality, right clicking on a folder for example and taking a look in
the "Send To" menu you will see "Compressed (Zipped) folder", I want to be
able to do this in code hopefully *without* using any 3rd part DLL's such as that of the Sharp Zip library. I'm sure someone else has wanted to do this? Thanks loads in advance.

Nick.

***
On a more lighter note, has anyone seen the Half Life 2 technical demos?
WOW!

--
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ "No matter. Whatever the outcome, you are changed."

Fergus - September 5th 2003
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\

Nov 20 '05 #2
Hello,

"Nak" <a@a.com> schrieb:
If you have Windows XP and ME (I think) there is integrated ZIP


Are you sure you only want to target Windows Me and Windows XP machines?

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
http://www.mvps.org/dotnet
Nov 20 '05 #3
Hi Nick,

Without having the time to go into it the following Googled very nicely.

free source code zip unzip

You might take a look at
http://sac-ftp.gratex.sk/pack20.html

Regards,
Fergus
Nov 20 '05 #4
Nak
Hi there,
there's a post to this question earlier in the week. xp/me does use a 3rd
party dll. you can look up the manufacuter's web site from that post, go to the site, get their product documentation and proceed with caution.


Yeah, I looked into the DLL with notepad and found "Inner Media" and
DynaZip. I sent them a few emails also to try to get some more information,
not that they will give me any! :-)

Outlook Express has been messing about big style, so sorry for the delay in
my response. I couldn't even recieve new messages!!

Nick.

--
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
"No matter. Whatever the outcome, you are changed."

Fergus - September 5th 2003
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
Nov 20 '05 #5
Nak
Hi Herfried,
Are you sure you only want to target Windows Me and Windows XP machines?


If the technology is there then I want to utilize it, if not then I don't
want to utilize it. It isn't for mission critcal purposes but it would be
very handy to know how to use this "DynaZIP" thing, not that there is any
documentation anywhere.

I feel that it is hidden, well sorry, I know that it is hidden, bugggeerrr.

Sorry for the delay in my reply,

Outlook Express + Problems = Stress / Pretty normal thing to happen

Nick.

--
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
"No matter. Whatever the outcome, you are changed."

Fergus - September 5th 2003
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
Nov 20 '05 #6
Nak
Hi Fergus,

Sorry for the delay in my reply, OE sucks big time.
You might take a look at
http://sac-ftp.gratex.sk/pack20.html


I was trying to shy away from 3rd party DLL's, just because I don't want
my application relying on other peoples code other than Microsoft, but now
that I found out it isn't Microsoft's code anyway I suppose it doesn't
matter, but then again it should be pretty good in relation to competitors.
I'm very surprised that there isn't any documentation anywhere on the net
(illegitimate or not).

Well at least I know my emails to them are going to be completely
ignored :-) Which is nice, I can't find any examples of the zipfldr.dll
being used anywhere, I can't even find the exports of it. Maybe I need
software to solve my software issues, oh well, at least OE is working again!

Thanks for your help peoples!

Nick.

--
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
"No matter. Whatever the outcome, you are changed."

Fergus - September 5th 2003
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
Nov 20 '05 #7
you can wrap the info-zip stuff into a class library, I've done it it was
fairly easy.

I might make the wrapper available later on this year, I hope that's not too
late.
"Nak" <a@a.com> wrote in message
news:OQ**************@TK2MSFTNGP09.phx.gbl...
Hi Herfried,
Are you sure you only want to target Windows Me and Windows XP machines?
If the technology is there then I want to utilize it, if not then I don't
want to utilize it. It isn't for mission critcal purposes but it would be
very handy to know how to use this "DynaZIP" thing, not that there is any
documentation anywhere.

I feel that it is hidden, well sorry, I know that it is hidden,

bugggeerrr.
Sorry for the delay in my reply,

Outlook Express + Problems = Stress / Pretty normal thing to happen

Nick.

--
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ "No matter. Whatever the outcome, you are changed."

Fergus - September 5th 2003
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\

Nov 20 '05 #8
"Nak" <a@a.com> scripsit:
Sorry for the delay in my reply, OE sucks big time.


You are right -- Outlook Express sucks today. I am using gnus as a
newsreader now together with my hamster. Really cool.

;-)

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>
Nov 20 '05 #9
"Nak" <a@a.com> scripsit:
Are you sure you only want to target Windows Me and Windows XP machines?


If the technology is there then I want to utilize it, if not then I don't
want to utilize it. It isn't for mission critcal purposes but it would be
very handy to know how to use this "DynaZIP" thing, not that there is any
documentation anywhere.


Sorry, I don't have an idea on how to access Windows XP's ZIP
functionality. You may want to ask in one of the Win32 programming groups.
Outlook Express + Problems = Stress / Pretty normal thing to happen


Outlook Express was not able to get the messages from the
<msnews.microsoft.com> server today. I use gnus now... I tested it a
little bit and I hope my messages show up correctly now.

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>
Nov 20 '05 #10
What do you get if you cross a gnu with a hamster?

I don't know, but if you mix a Herfried in as well - the mind boggles!!

Nov 20 '05 #11
Hello,

"Fergus Cooney" <fi******@tesco.net> schrieb:
What do you get if you cross a gnu with a hamster?
ROFL
I don't know, but if you mix a Herfried in as well - the mind boggles!!


OE seems to work today.

:-)

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>
Nov 20 '05 #12

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

Similar topics

2
by: Ken Lindner | last post by:
I have a need to become familiar with SQL Server 2000 for work. Needless to say I am new to SQL Server any version, but not IT in general. My employer has provided me with the SQL Server 2000...
3
by: Christian McArdle | last post by:
REQUEST FOR DISCUSSION (RFD) unmoderated group comp.os.ms-windows.programmer.64bit This is a formal Request For Discussion (RFD) to create comp.os.ms-windows.programmer.64bit as an unmoderated...
1
by: Scott Davies | last post by:
Hi, I'm looking for some help on a small program that I'm trying to develop in VB.NET. I'm having trouble getting the code that I've written to work, can anyone shed some light as to where I'm...
0
by: Scott Davies | last post by:
Hi, I'm looking for some help on a small program that I'm trying to develop in VB.NET. The program I'm trying to develop needs to be able to do the following: - Select remote server -...
4
by: Rod Gill | last post by:
Hi, I have a form that when opened in the designer appears of the screen. The form selector can't be dragged (or resized) and if I scroll right and down to centralise it the form simply jumps...
2
by: sambo251 | last post by:
After running a few updates I get this very annoying "Windows Installer" error #1706 that will ne go away! It keeps saying that it cannot find the file "instantsharedevices.msi", that it is on...
1
by: mfunkmann | last post by:
Hi, I recently got an error and I don't know how to fix it: Error 1 'System.Data.DataColumn' does not contain a definition for 'Windows' C:\c#\CsharpPRO\Form1.Designer.cs 304 77 CsharpPRO I...
0
AmberJain
by: AmberJain | last post by:
Windows Autorun FAQs: List of autostart locations Linked from the Original article- "Windows Autorun FAQs: Description". Que: Can you list all the autostart locations for windows? Ans: Here is...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
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
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
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.