lbowers
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...
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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.
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
M
Search for zip at:
http://www.download.com/PC/Activex/0,271,0-0,00.html
or try this:
http://www.download.com/PC/Result/TitleDetail/0,4,0-58243,1000.html
http://www.download.com/PC/Activex/0,271,0-0,00.html
or try this:
http://www.download.com/PC/Result/TitleDetail/0,4,0-58243,1000.html
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
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.
so, which option you go for?
To vikiing:
if you don't mind, send a copy too to chewhoung@yahoo.com.
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