We are generating XLS files from within Foxpro and wish to then Zip these multiple files and have them ready for posting to the Web. Current we are zipping them manually after exiting Foxpro. Has anyone done this?????
AFAIK, WinZip doesnt support an ActiveX/COM/OLE interface, nor an API interface. However, with the release of version 8, WinZip includes an undocumented command-line interface.
See the following article for what parameters it accepts:
It has a zipping utility that claims to be faster and compress at a higher ratio than WinZip. It has an ActiveX, as well as an API interface. There is also an evaluation copy, but I have yet to test it. Jon Hawkins
jonscott8@yahoo.com
The World Is Headed For Mutiny,
When All We Want Is Unity. - Creed
You can also check out dynazip, this 3rd party package enables you to incorparate zipping files into your foxpro application.
The only thing you have to do is to supply your users with the freely distributable dll's.
The variable process works in Winzip8.0 and by carrying it one step further, you can then open the self extracting file in Foxpro also
----------------------------------
CREATE THE SELF EXTRACTING EXE
(this accesses the zip file and creates the EXE in the same folder as the zip file)
lcvarself="c:\progra~1\winzip\wzsepe32 c:\workdata\testwinzip\my.zip"
run &lcvarself
now just need to figure out how to not have it stop and ask various questions of the user????
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.