Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Create XP compressed folder in VFP
Message
From
24/02/2004 16:41:40
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00880426
Message ID:
00880490
Views:
38
>>Can anybody tell me how you would create an XP compressed folder from within VFP?
>
>Never mind! It's really pretty simple:
>
>
ofs = CREATEOBJECT("Scripting.FileSystemObject")
>ofs.CreateTextFile("C:\test.zip")
>or even
>
STRTOFILE("","c:\test2.zip")
Interesting. Would this "text file" have the correct format - or perhaps be over-written by a correct ZIP file later?
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform