fmichail
asked on
How to compress files (images) using windows compression (NOT WNZIP) from VB6. It is OK to use vb.net
I am working in VB6, and I need to compress image files using windows compression. I am OK with writing a vb.net code, but then I need to know how to call it from VB6. Please provide the code for compression and decmpression. Thanks for the help.
Would a .zip or .7z format file be acceptable? I'm not really sure of your criteria.
ASKER
Hi aikimark
a zip format is perfectly OK, as long as i do not use the winzip to create it. only .net code in an assemblythat I can register and access in VB6. Thanjs
a zip format is perfectly OK, as long as i do not use the winzip to create it. only .net code in an assemblythat I can register and access in VB6. Thanjs
You can probably do this from your VB6 application without having to use the .Net framework.
Additional question...Do you need to compress these files in a batch/bulk/block operation or on a file-by-file basis?
Additional question...Do you need to compress these files in a batch/bulk/block operation or on a file-by-file basis?
ASKER
aikimark
I need to be ableto compress one or more files every run (I beleive thisis what you mean by batch/bulk/block operation. Thanks
I need to be ableto compress one or more files every run (I beleive thisis what you mean by batch/bulk/block operation. Thanks
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
what are the characters PK & Chr(5) & Chr(6) & String(18, Chr(0))
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Solution is excellent, I wish if there is a higher grade to give. Thanks you guys.