Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using variables with vfpcompression
Message
From
01/11/2007 06:58:41
Denis Filer
University of Oxford
United Kingdom
 
 
To
01/11/2007 04:14:48
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
01265645
Message ID:
01265651
Views:
8
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 '.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform