Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using variables with vfpcompression
Message
De
01/11/2007 06:58:41
Denis Filer
University of Oxford
Royaume Uni
 
 
À
01/11/2007 04:14:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Divers
Thread ID:
01265645
Message ID:
01265651
Vues:
9
If the destination zip file and the files to zip are in the same folder, it sometimes works - but sometimes get the error 'Data type mismatch'. Very puzzling. If the destination file and the files to zip are in different folders, it never works!





>Using vfpcompression.fll, it works hitchlessly using:
>
>SET LIBRARY TO "vfpcompression.fll"
>resultx = ZipOpen('c:\zfolder\myzipfile.zip')
>
>but not when using a variable as in:
>
>SET LIBRARY TO 'vfpcompression.fll'
>myzipfilex = 'c:\zfolder\myzipfile.zip"
>resultx = ZipOpen(myzipfilex)
>
>I must be doing something wrong .. any clues, Denis

Works for me, but you have a typo, an ending " instead of '.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform