Solved

File compression

Posted on 1999-01-25
4
205 Views
Last Modified: 2010-05-03
Anyone know of any VB algorithms or code snipits that can considerably compress/restore a large file (the smaller and faster it is, the better)?  I am making a prgram that will eventually be creating some pretty heafty files so any help would be appreciated.  Thanx.
0
Comment
Question by:zabman
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 13

Expert Comment

by:Mirkwood
ID: 1470718
Waty asks this question a while ago and the only thing he got was some pointers.
There is no fast way to compress in VB because of a lack of bit manupulation functions.

Here is a good control that does it
http://www.cgvb.com/links/lpage.boa/FILE
0
 
LVL 14

Expert Comment

by:waty
ID: 1470719
The only solution under vvb, is using 3rd OCX/DLL, of shelling to PKZip. For none of those solutions was acceptable.
0
 
LVL 4

Accepted Solution

by:
anzen earned 100 total points
ID: 1470720
Such a code snippet is difficult to post here, but If You want to use or study some really good compression code i suggest You to jump to this URL http://www.winimage.com/zLibDll/ there You'll find the Win DLL version of a compression library called Zlib (bin and sources) together with a working VB module to use it from Visual Basic, the library uses Huffmann, LZW and RLE algos to accomplish the max compression it can and I've found it really useful and well written

I Hope this helps ...

Bye

0
 

Author Comment

by:zabman
ID: 1470721
Thanks for the help!
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Suggested Courses
Course of the Month5 days, left to enroll

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question