Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFPCompression.fll
Message
De
01/10/2007 09:50:16
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Titre:
VFPCompression.fll
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01257705
Message ID:
01257705
Vues:
180
Hi,

I'm trying out the VFPCompression.fll from Craig Boyd and getting problems trying to zip up a folder that has subfolders. Here's my code:

LPARAMETERS tcFromFolder, tcToFolder

LOCAL lcToFile, llRetVal
m.lcToFile = FORCEEXT(ADDBS(m.tcToFolder) + oApp.GetAppInfo("Title") +"-"+ DTOS(DATE()), "ZIP")

IF X2SETLIB('VFPCompression.FLL')
* VFPCompression.FLL was successfully installed
IF ZipOpen(m.lcToFile)
IF ZipFolder(tcFromFolder, .F.)
IF ZipClose()
m.llRetVal = .T.
ENDIF
ENDIF
RELEASE LIBRARY VFPCompression.FLL
ENDIF
ELSE
* VFPCompression.FLL could not successfully be installed
DO X3MSGSVC WITH 'No VFPCompression.FLL'
ENDIF

RETURN m.llRetVal

FWIW, if I try just zipping up one file (ZipFile()) it doesn't work either. I do get it to work sometimes on different files, but can't work out any pattern.

ZipFolder is what is failing. Any ideas what could be causing this?
Frank.

Frank Cazabon
Samaan Systems Ltd.
www.samaansystems.com
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform