Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Zip
Message
 
To
01/07/2002 12:11:42
Todd Brown
Teachers Credit Union
Granger, Indiana, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Re: Zip
Miscellaneous
Thread ID:
00673939
Message ID:
00674038
Views:
27
Hi,
YES, it can be done with VFP.
You can do it yourself : if you have a registered WinZip, you can download the Command Line Support Add On. Then you can run, via ShellExecute, this WZZIP.EXE (Command Line Add On) passing it your parameters. Then, WZZIP.exe will launch WinZip32.exe. What is great : you can set the ShowCmd parameter of ShellExecuteEx to 0, and then no window will appear during the zipping process, increasing highly the speed (very surprising).

You can download a little .prg I've posted on VFUG (March or April letter)
It does this :

DO  "MkZip.prg" WITH  , [, ]

If you want e_mail your results after zipping, you must take care if you use the high level-compression : you must wait until the file .zipped exists.

Downloading (freely) the Command Line Support Add On :
http://www.winzip.com/other.htm

Arnaud
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform