Thanks Neil
Zlib looks really good (and Free!) but I need to encrypt the data with a password before I can entrust it to the Email system. I could not tell if Zlib could do that from the manual so DynaZip is emerging as the front runner.
Mark
>Mark,
>
>If you are only bothered with compressing single files and not putting them in an archive then you could try the zlib OCX control.
>
>
http://www.info-zip.org/pub/infozip/zlib/>
>Its ZIP compatible and is real easy to use from VFP.
>
>with ThisForm
> .oleCompress.InputFile = "c:\test.txt"
> .oleCompress.OutputFile = "c:\test.cmp"
> .oleCompress.Level = 9
>
> *!* Perform the compression.
> .oleCompress.Compress()
>endwith
>