Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Putting pictures in a zip file
Message
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
00466323
Message ID:
00466804
Views:
20
>Rick,
>I've been using XCeed, which works well for most things. It's biggest drawback is that it can't move files into a ZIP file - if you don't want to keep the 'original' you need to deleted them manually. This can be a problem with VFP if you have multiple folders. I'll probably need to go to WSH to handle the delete problems.
>

You might want to investigate SHFileOperation() as an alternative; it lets you build an explicit list of things to delete into a double-null terminated list, which can then be operated against in a single API call. I have code posted in the API section dealing with copying - deletion uses the same double-null terminated list of file specs, but a different function code.

>
>>I am working on a FoxPro program to gather information on collectibles for sale on ebay, and I want to grab lots of pictures. Given my somewhat limited hardware, perhaps the best way to go is to keep the pictures in a zip file, archiving them and extracting them programmatically as needed.
>>
>>Are there any third party products to manage a zip file from within FoxPro program?
>>
>>Thanks.
>>
>>Rick Graves
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform