Link to home
Start Free TrialLog in
Avatar of lbowers
lbowersFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Compression!!!

I need to write a file compression routine in VB6 (!).
Speed is not an issue, file security and space saving are however. I realise this a large and vague area and that it may be 'out of place' on such a site. I am hoping that perhaps source code is already available on which to base my own code. If it is not, I mearly need pointing in the right direction.

I realise the basis for compression is repetition but can't currently see how to implement it!

Thanks in advance...
ASKER CERTIFIED SOLUTION
Avatar of mark2150
mark2150

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of idt
idt

I am not sure why you want to tackle this on your own, many shareware/cheapware solutions exist, however, I am here to help, not judge

for $50 you can download source code (Delphi) for zip compatable compression (supports passwording).. This Delphi code (pascal) would probably be the easiest to port to VB.. I found many asm routines but they were also impossible to read.

http://members.xoom.com/boylank/kpgb3.htm

hope this helps
Avatar of lbowers

ASKER

I do not really want to use any commercial external/internal solutions, as I fully intend to use the final compression routines in an application I'm writing at work. My boss will not want to pay out for any additional costs to a third party ;)
Internal routines are the *only* solutions where he's concerned.
Tell your boss to give his head a shake, he will pay far more to have you write the routines, debug the routines, provide support when they fail, etc etc..

Yeah, and a *license* for PKZIP was only $50 the last time I bought one. (been a while tho) - Ask your boss how much programming time he can get for $50 - Hell you've spent *THAT* just researching the question! (grin)

M

It's a free OCX
I have Pascal code for zipping and unzipping files (they're hanging over the Web, totally free), but they are too big to paste here. If you want them, put me a mail.


Hey vikiing! Send them to me too! (please!)

Mark_Lambert@ntsc.navy.mil

M

To lbowers:
so, which option you go for?

To vikiing:
if you don't mind, send a copy too to chewhoung@yahoo.com.