Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Zip
Message
 
À
01/07/2002 12:11:42
Todd Brown
Teachers Credit Union
Granger, Indiana, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Re: Zip
Divers
Thread ID:
00673939
Message ID:
00674038
Vues:
26
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform