Solved

File compression

Posted on 1999-01-25
4
201 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
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
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…

861 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