V113,LZ77,FSO,powerful,very,quick,compression
Quick Search for:  in language:    
V113,LZ77,FSO,powerful,very,quick,compression
   Code/Articles » |  Newest/Best » |  Community » |  Jobs » |  Other » |  Goto » | 
CategoriesSearch Newest CodeCoding ContestCode of the DayAsk A ProJobsUpload
Visual Basic Stats

 Code: 2,516,378 lines
 Jobs: 280 postings

 
Sponsored by:

 

You are in:

 
Login



Latest Code Ticker for Visual Basic.
Click here to see a screenshot of this code!Snake II progress report
By Fi3k1 on 10/19

(Screen Shot)

Click here to see a screenshot of this code!Connector Line with Arrow
By Senthamil on 10/19

(Screen Shot)

Click here to see a screenshot of this code!ICQ SMS Activex Component (Updated 19th October 2002)
By Vijay Bhatter on 10/19

(Screen Shot)

List
By xx AL xx on 10/19


Skilled Programmers needed
By xx AL xx on 10/19


Elite Frogger
By hellam on 10/18


Odometer type counter
By Kenneth Foster on 10/18


Click here to see a screenshot of this code!VBLayers ActiveX Control
By Joseph M. Ferris on 10/18

(Screen Shot)

CoolPlayer *ID3 fixed...
By Giannis_B on 10/18


Click here to put this ticker on your site!


Add this ticker to your desktop!


Daily Code Email
To join the 'Code of the Day' Mailing List click here!





Affiliate Sites



 
 
   

Ariel Zip Compression Utility with Disk Spanning V1.0

Print
Email
 
winzip icon
Submitted on: 1/3/2001 5:32:06 PM
By: Tom de Lange 
Level: Intermediate
User Rating: By 49 Users
Compatibility:VB 5.0, VB 6.0

Users have accessed this code 19906 times.
 

(About the author)
 
     A powerful and very quick compression program using the 32bit zlib.dll (V1.1.3) compression library originally written by Jean-loup Gailly and Mark Adler (variation of LZ77 Lempel-Ziv 1977 algoritm). The application is implemented through an extensive ArielZip class and a Winzip like client interface. Features * Powerful and very fast - compresses 6000 kb data files to 1500 kb (25%) in 2.1 seconds! * Multiple disk spanning with automatic sensing of disk capacity * User friendly floppy disk change dialogue showing contents of disk to be overwritten * Single and multiple file extraction * Extracted icons included in archive as bitmaps * 9 compression levels * Add folders and subfolders through recursive scanning of FSO objects * Add files with multiple file selection * Delete files from list and archive * Refresh files * File association of .azp extension with default icon using regobj.dll (included in zip file). Other Programming Features - About box referencing application object (revision etc) - Custom Folder browse control implementing BrowseForFolder (ArielBrowseControl) - Extensive use of FileSystemObject (requires scripting runtime dll) - Automatic sensing of floppy disk insertion/removal - Demonstration of toolbar control - Small icon extraction using SHGetFileInfo calls in shell32.dll lib - Extensive usage of CopyMem (Kernel32) - Access the system temp folder through GetTempPath (kernel32) - Registering of azp file type and associated default icon through regobj.dll - Ini file manipulation using GetProfile and SaveProfile functions Credits and links: see readme.txt file

 
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzipto decompress it.

Virus note:All files are scanned once-a-day by Planet Source Code for viruses,but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:
1)Re-scan downloaded files using your personal virus checker before using it.
2)NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
3)Scan the source code with Minnow's Project Scanner

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
1) You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.   
2) You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
3) You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
4) You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


Other 4 submission(s) by this author

 

 
Report Bad Submission
Use this form to notify us if this entry should be deleted (i.e contains no code, is a virus, etc.).
Reason:
 
Your Vote!

What do you think of this code(in the Intermediate category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor See Voting Log
 
Other User Comments
1/3/2001 5:43:25 PM:Viper Tec,
Cool. 5 globes from me.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/3/2001 6:31:07 PM:Night Wolf
Excellent Code ! 5 Golbes. :D
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/4/2001 5:48:13 AM:Omar Dixon (OmarSwan)
Once again another great program. 
Thanks alot for posting it. I love all 
the programs that you have posted. Keep 
up the good work. 5 GLOBES from me!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/4/2001 7:03:11 AM:Rogerio
Great !!!! 5 Globes from me 
!!!
Thank´s for sharing this code !!!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/4/2001 7:31:01 AM:Tom de Lange
Thanks guys for the votes - that's what 
it is all about! But please post tips, 
criticism and suggestions too. Tom
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/4/2001 5:02:09 PM:vision
You really cicked the Backdoor 
people.
Good work.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/5/2001 5:14:58 AM:Nathan Chere
Excellent work. You're obviously 
someone with way too much time on their 
hands. 5 globes!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/5/2001 11:17:49 AM:Jan-A Mock
Yeah! It's really great!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/5/2001 5:06:32 PM:Night Wolf
Ok, like Tom said. Give the 
suggestions... Ppl only vote and say 
that it's cool. I did it also, but 
after I found one little bug, 
I....
It's about RightFormat function, 
it's not actually a bug, but imagine 
that a file will be, lets say 
2,645,234,745 bytes. So when you open 
the file, it will show only 645,234,745 
bytes, coz the format string is 
###,###,##0. To fix you can just add a 
few more #-sign. But when you'll start 
making the column smaller the 
(...)-sign will apear earlier than it 
should normally. I think the way you 
did it is pretty cool, but there must 
be a way to do the way Winzip or other 
compress programs do it.
...everything 
didn't fit at ones... see my next 
feedback...
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/5/2001 5:08:36 PM:Night Wolf
...continue....
Here's my suggestion 
about saving icons within the file. 
It's a good idea, but it takes also 
space in the file when there're very 
many files. You just can do it like 
Winzip does. Creating icons when file 
is opening. I can give a module file 
that (the module wasn't made by 
me).
My another suggestion is to crypt 
the strings like the names of files. 
Before that crypted sting you'll need 
to set Lenght of the string, so you'll 
be able to know when the string ends. 
It will also make some more space in 
the file. For that I have also a simple 
demo.
That's all for now...
Oh yeah, 
maybe a password will be cool :D
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/5/2001 5:46:51 PM:Tom de Lange
Nightwolf, you raise some serious 
suggestions, and good ones too. I'll 
get in touch with you by e-mail and we 
can take it from there. Thanks a mil!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/6/2001 6:41:29 AM:Jakob Bieling
well, everything has already been said. 
here are my 5 globes!  =D
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/8/2001 1:11:45 AM:Ultima kewl!
this code rulez.. 5 globes from me too 
man! good luck! =)  =D
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/12/2001 12:24:40 PM:RJ Soft of West Tennessee
If you would have made a function to 
write the zip file to the HD and split 
it into say 2.88MB files, A001.zip, 
A002.zip...then I would have some use 
for this.  Otherwise, WinZip works just 
fine...  Maybe you will do that in the 
next version?
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/13/2001 3:15:06 AM:Tom de Lange
Dear RJ Soft, please do me a favour and 
send me the exact no of bytes  
available for a 2.88Mb disk. No problem 
to add it then
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/17/2001 7:28:03 PM:Mike
I think he ment spliting the files to a 
hard drive... at a specific byte size.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/18/2001 3:43:17 PM:Tom de Lange
Mike, splitting to hard drive or fdd is 
not the problem, but when saving to a 
fdd, a 2.88Mb disk does NOT provide 
exactly 2.88 Mb space, since some is 
required for the FAT table...
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
2/3/2001 12:31:06 AM:Troy Mac
Hey Tom,
Great stuff you should try 
and upgrade Alexandre's Auto Backup 
with this... here is the link to the 
download on planet source code  
http://www.planet-source-code.com/xq/ASP
/txtCodeId.3690/lngWId.1/qx/vb/scripts/S
howCode.htm  This link probably won't 
work so do a search for Auto Backup and 
look for the code by Alexandre Moro.  
Its nice code but needs compression.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
2/13/2001 9:09:18 AM:Robin McKay
What is a program like this doing at 
PSC? It shouldn't be here! It should be 
made commercial, but anyhow, thanks for 
sharing your expertise with the rest of 
the dedicated VB Programmers. I wanted 
to make a ZIP program, but I wouldn't 
have known where to start had it not 
been for this source code. You are very 
obviously a professional programmer 
with a lot of future prospects. Keep up 
the good work and keep that code cool! 
In the meantime, I look forward to 
seeing what other projects you have in 
the pipeline. It is people like you 
whom deserve to be a contest winner 
since you put lots of time into making 
programs like this. 
Robin
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
2/13/2001 12:57:38 PM:Tom de Lange
Robin
Thanks for the kind words. Its 
people like you that makes this site go 
round! My ultimate aim is the 
development of a share technical 
analysis program, incorporating 
advanced algorithms such as fourier 
transforms, fuzzy logic and neural 
networks. It's a truly lifetime job, 
already in its 6th year. But being a 
hobby, time is always the scarce 
item!
Once again, thank you!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
2/20/2001 7:08:17 AM:Mike Haisley
My suggestion: add support for .zip 
files.  This could easily be done with 
the info-zip compression librarys 
(freeware) 
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
5/3/2001 10:58:03 AM:Jeová Almeida
Excellent work, Tom!
I enjoyed a lot 
peeking the source code. This work is 
really worth 5 globes. 
Suggestion: 
Put a version to download for VB5 
programmers and implement password 
protection as well.
Congratulations 
by the well done work.
Jeová
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
10/12/2001 7:29:47 AM:Daniel
Hi, when i tried to run the code i got 
the error "can't find project or 
library", then the references windows 
pops up and informed me that the 
missing thing is called Regstration 
Manipulation Classes". Pls email me at 
danielyh@optushome.com.au and tell me 
watta do@
!
thanx~!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
12/6/2001 3:34:48 PM:Mike
I agree that this is an excellent 
program -- very commercial quality. But 
I do have some pet peeves about it, if 
you don't mind me sharing them with 
you; I'd definitely stay away from 
DEFLNG, etc., Option Base 1, and all 
those other things that look a little 
too Quick Basic nowadays. Other than 
those non-issues, this is really top 
notch!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/6/2002 2:58:16 PM:dmarasco
Excellent code !
I'm just a beginner 
but have learned alot from studying 
your program.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
3/28/2002 3:50:14 PM:Phil
Will Not Work With VB5 (SP3)
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
4/5/2002 5:03:26 AM:Aditza
Tom de Lange ... I want a personalized 
thingy of your code ... with 2 
functions ... one open(archive) .. open 
just filename ( not icons .. blabla) 
and one extract(archive,filename) .. to 
extract only one filename ! Can you do 
that ?
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
4/5/2002 5:04:49 AM:Aditza
.... if you want to contact me you can 
always contact me at: 
DjSup3rStar@yahoo.Com !!!! Thanks a lot
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
4/6/2002 7:08:18 PM:Markos
Great code ! I'm looking forward on 
seeing your other programs, but I agree 
with Robin McKay, what is this code 
doing here?? 5 planets for you
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
7/29/2002 9:26:37 PM:Skitzo Monk
Wen i register ect.. and when i try to 
compile it i get the error procedure 
declaration does not match that of the 
event or procedure having the same name
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
9/7/2002 12:51:03 AM:Paul Guerra
nice code, but note this:
* 
redimming an array to 0 does not 
deallocate its memory. since you're 
using "option base 1", when you redim 
to 0 an error occurs, but you dont 
notice it cos you use an "on error 
resume next". this is annoying...
* 
vb always sets the return value of a 
function to 0, "" or false (depending 
on its data type). so if you dont 
modify the result of a function, do not 
assign it the default value when 
exiting.
* i think you're using too 
much disk space to store information 
which could be avoided if you optimize 
the saving format. you should try to 
find ways to make your compressed files 
smaller instead of relying on the zlib 
dll compressing capatibilities.
* 
think this: when we make programs, we 
want people to use it, not just to be 
stored in some clusters in your hard 
disk. that's why you should add some 
features which make your app useful. is 
there any good reason to use your app 
instead of winzip, winace, 
powerarchiver or another zipping 
utility...?
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
9/28/2002 9:00:44 AM:mad_rappa
i couldn't play it cause you've done 
parameters to standard subs like 
click.
For example
Private Sub 
ArFolder_Click(SelectedPath As 
String)
'------------------------------
--------------
'Check if path 
exists
'-------------------------------
-------------
CheckCtrls
End 
Sub
You can't have parameters in a 
normal click-event, the same goes to 
change. Fix this and then maybe I can 
play it.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
10/9/2002 10:39:56 PM:ShoreSide
Why - is the OCX and other dll's 
missing?  Or am I missing something 
here?  It would be nice to at least 
attempt to see what everyone above is 
talking about!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
Add Your Feedback!
Note:Not only will your feedback be posted, but an email will be sent to the code's author in your name.

NOTICE: The author of this code has been kind enough to share it with you.  If you have a criticism, please state it politely or it will be deleted.

For feedback not related to this particular code, please click here.
 
Name:
Comment:

 

Categories | Articles and Tutorials | Advanced Search | Recommended Reading | Upload | Newest Code | Code of the Month | Code of the Day | All Time Hall of Fame | Coding Contest | Search for a job | Post a Job | Ask a Pro Discussion Forum | Live Chat | Feedback | Customize | Visual Basic Home | Site Home | Other Sites | About the Site | Feedback | Link to the Site | Awards | Advertising | Privacy

Copyright© 1997 by Exhedra Solutions, Inc. All Rights Reserved.  By using this site you agree to its Terms and Conditions.  Planet Source Code (tm) and the phrase "Dream It. Code It" (tm) are trademarks of Exhedra Solutions, Inc.