Important alert: (current site time 7/16/2013 3:19:29 AM EDT)
 

winzip icon

Ariel Zip Compression Utility with Disk Spanning V1.0

Email
Submitted on: 1/3/2001 5:32:06 PM
By: Tom de Lange 
Level: Intermediate
User Rating: By 60 Users
Compatibility: VB 5.0, VB 6.0
Views: 61580
author picture
(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

 

Windows API/Global Declarations:

Can't Copy and Paste this?
Click here for a copy-and-paste friendly version of this code!
'**************************************
'Windows API/Global Declarations for :Ariel Zip Compression Utility with Disk Spanning V1.0
'**************************************
'Requirements (included in zip file)
'Ariel Browse Folder.ocx
'Registry manipulation (regobj.dll)
'Scripting runtime (scrrun.dll)
'Zip File size: 242kb
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 Winzip to 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 tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

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 PMViper Tec,

Cool. 5 globes from me.
(If this comment was disrespectful, please report it.)

 
1/3/2001 6:31:07 PMNight Wolf

Excellent Code ! 5 Golbes. :D
(If this comment was disrespectful, please report it.)

 
1/4/2001 5:48:13 AMOmar 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!
(If this comment was disrespectful, please report it.)

 
1/4/2001 7:03:11 AMRogerio

Great !!!! 5 Globes from me !!!

Thank´s for sharing this code !!!
(If this comment was disrespectful, please report it.)

 
1/4/2001 7:31:01 AMTom de Lange

Thanks guys for the votes - that's what it is all about! But please post tips, criticism and suggestions too. Tom
(If this comment was disrespectful, please report it.)

 
1/4/2001 5:02:09 PMvision

You really cicked the Backdoor people.
Good work.
(If this comment was disrespectful, please report it.)

 
1/5/2001 5:14:58 AMNathan Chere

Excellent work. You're obviously someone with way too much time on their hands. 5 globes!
(If this comment was disrespectful, please report it.)

 
1/5/2001 11:17:49 AMJan-A Mock

Yeah! It's really great!
(If this comment was disrespectful, please report it.)

 
1/5/2001 5:06:32 PMNight 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...
(If this comment was disrespectful, please report it.)

 
1/5/2001 5:08:36 PMNight 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
(If this comment was disrespectful, please report it.)

 
1/5/2001 5:46:51 PMTom 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!
(If this comment was disrespectful, please report it.)

 
1/6/2001 6:41:29 AMJakob Bieling

well, everything has already been said. here are my 5 globes! =D
(If this comment was disrespectful, please report it.)

 
1/8/2001 1:11:45 AMUltima kewl!

this code rulez.. 5 globes from me too man! good luck! =) =D
(If this comment was disrespectful, please report it.)

 
1/12/2001 12:24:40 PMRJ 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?
(If this comment was disrespectful, please report it.)

 
1/13/2001 3:15:06 AMTom 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
(If this comment was disrespectful, please report it.)

 
1/17/2001 7:28:03 PMMike

I think he ment spliting the files to a hard drive... at a specific byte size.
(If this comment was disrespectful, please report it.)

 
1/18/2001 3:43:17 PMTom 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...
(If this comment was disrespectful, please report it.)

 
2/3/2001 12:31:06 AMTroy 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/ShowCode. 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.
(If this comment was disrespectful, please report it.)

 
2/13/2001 9:09:18 AMRobin 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
(If this comment was disrespectful, please report it.)

 
2/13/2001 12:57:38 PMTom 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!
(If this comment was disrespectful, please report it.)

 
2/20/2001 7:08:17 AMMike Haisley

My suggestion: add support for .zip files. This could easily be done with the info-zip compression librarys (freeware)
(If this comment was disrespectful, please report it.)

 
5/3/2001 10:58:03 AMJeová 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á

(If this comment was disrespectful, please report it.)

 
10/12/2001 7:29:47 AMDaniel

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~!
(If this comment was disrespectful, please report it.)

 
12/6/2001 3:34:48 PMMike

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!

(If this comment was disrespectful, please report it.)

 
1/6/2002 2:58:16 PMdmarasco

Excellent code !
I'm just a beginner but have learned alot from studying your program.
(If this comment was disrespectful, please report it.)

 
3/28/2002 3:50:14 PMPhil

Will Not Work With VB5 (SP3)
(If this comment was disrespectful, please report it.)

 
4/5/2002 5:03:26 AMAditza

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 ?
(If this comment was disrespectful, please report it.)

 
4/5/2002 5:04:49 AMAditza

.... if you want to contact me you can always contact me at: DjSup3rStar@yahoo.Com !!!! Thanks a lot
(If this comment was disrespectful, please report it.)

 
4/6/2002 7:08:18 PMMarkos

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
(If this comment was disrespectful, please report it.)

 
7/29/2002 9:26:37 PMSkitzo 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
(If this comment was disrespectful, please report it.)

 
9/7/2002 12:51:03 AMPaul 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...?
(If this comment was disrespectful, please report it.)

 
9/28/2002 9:00:44 AMmad_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.
(If this comment was disrespectful, please report it.)

 
10/9/2002 10:39:56 PMShoreSide

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!

(If this comment was disrespectful, please report it.)

 
11/15/2002 12:06:55 AM

where are the dll's and ocx???
(If this comment was disrespectful, please report it.)

 
12/17/2002 1:12:11 AM

This code sounds amazing! But I can't get anything to work because I'm missing the .OCX file...can someone please help me out here. AIM me "StrykerXP" or email me! Thanks!
(If this comment was disrespectful, please report it.)

 
3/15/2003 11:48:15 AM

i can't run it... please send me the correct code than i can run it
(If this comment was disrespectful, please report it.)

 
4/21/2003 5:46:17 PM

include the ocx please.
(If this comment was disrespectful, please report it.)

 
5/9/2003 2:56:08 PMBlisteredExecutioner

psc started removing compiled files
(If this comment was disrespectful, please report it.)

 
6/22/2003 4:24:29 PMFantasmita

Where it´s the Ariel Browse Ctrl.ocx file????
(If this comment was disrespectful, please report it.)

 
9/8/2003 12:40:17 PMTV software

I a'm missing the dll's and ocx!!

(If this comment was disrespectful, please report it.)

 
9/20/2003 6:33:12 AM

I a'm missing the dll's and ocx!!
'Requirements (included in zip file)
'Ariel Browse Folder.ocx
'Registry manipulation (regobj.dll)
'Scripting runtime (scrrun.dll) how can i get them pls tell me the web site and pls write me a tutoria how to run it 10x
(If this comment was disrespectful, please report it.)

 
10/5/2003 6:37:20 AM

Hi send me the ocx and dll of the program of Ariel Zip Compression Utility with Disk Spanning V1.0 please I need to run
tank you
becouse I can't run
(If this comment was disrespectful, please report it.)

 
10/20/2003 3:17:56 AM

Can you please send me the OCX / dll files as they are not in the zip file when I download it, screen shot looks good but I would like to see it working
(If this comment was disrespectful, please report it.)

 
11/3/2003 4:59:17 AM

its nice to work with u r code.....
(If this comment was disrespectful, please report it.)

 
3/16/2004 5:12:03 AM

Hi, Can you please send me the OCX / dll files of Ariel Zip Compression
Utility.
thanks
(If this comment was disrespectful, please report it.)

 
7/19/2004 1:41:55 AM

Your code is very good.. But where can i find the browser you're telling. Likewise the regobj.dll. Thanks!
(If this comment was disrespectful, please report it.)

 
7/20/2004 11:33:19 PM

Very nice. 5 "globes"
(If this comment was disrespectful, please report it.)

 
8/20/2004 11:01:32 AMKing Of The Dragons

Doesn't work as not all files needed are in the zip file. Don't download.

(If this comment was disrespectful, please report it.)

 
10/2/2004 3:12:57 AM

Ocx dll Missing. Please Send Me
(If this comment was disrespectful, please report it.)

 
10/2/2004 3:20:27 AM

Please Send Me OCX and DLL Files


double_lc2003@yahoo.com
(If this comment was disrespectful, please report it.)

 
10/26/2004 10:20:34 PMRanel Aleta

Tom the dll's and
ocx!! are missing.
'Requirements (included in zip
file)
'Ariel Browse
Folder.ocx
'Registry manipulation
(regobj.dll)
'Scripting runtime
(scrrun.dll) how can i get them pls
tell me the web site.
(If this comment was disrespectful, please report it.)

 
1/6/2005 10:32:12 PMBrian

The ocx dll file is still missing, How can I get the file?
(If this comment was disrespectful, please report it.)

 
1/23/2005 7:43:00 PMA.A. Fussy

Sccrun.dl-google it, other may get from MS or compile it.
(If this comment was disrespectful, please report it.)

 
2/6/2005 11:29:46 AM

hey mister - innitialy everything was OK - then some blog said it has bussiness value and now when I download the zip - files are missing , hey pal the code elves may grant you an academic award for your work but that does not mean you have to forget about the PSC community whom first gave you a supporting hand - now put back those dll and ocx and dont be cocky - be happy to share , thats how great programmers are made - you give first then you will get !!
(If this comment was disrespectful, please report it.)

 
2/8/2005 5:54:09 PM

I a'm missing the dll's and
ocx!!
'Requirements (included in zip
file)
'Ariel Browse
Folder.ocx
'Registry manipulation
(regobj.dll)
'Scripting runtime
(scrrun.dll) how can i get them pls

(If this comment was disrespectful, please report it.)

 
3/7/2005 2:46:31 AMJim_Hubbard

Can't open the zip....keeps saying files are "password protected".

Whazzup wit dat?
(If this comment was disrespectful, please report it.)

 
4/20/2005 2:40:33 PMJC-Soft

Were are OCX's & DLL's???
(If this comment was disrespectful, please report it.)

 
6/4/2005 1:16:01 PM

I can't find the ocx and dll either, and you didn't put it into the package! Can you send me a copy? The code is very nice!
(If this comment was disrespectful, please report it.)

 
6/17/2005 9:15:30 AM

This is nice, I dont need it but I download it maybe it's handy later
(If this comment was disrespectful, please report it.)

 
7/27/2005 9:49:26 AMJim

Tom, I'd love to try your zip routine, but I cannot get it to run. As previously stated, there are some files missing. Are you providing information for obtaining them, or is this no longer available?
(If this comment was disrespectful, please report it.)

 
2/3/2007 6:44:28 PMCorey

thanks man its great
(If this comment was disrespectful, please report it.)

 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)
 

To post feedback, first please login.