Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Create XP compressed folder in VFP
Message
De
24/02/2004 16:41:40
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
24/02/2004 16:20:45
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00880426
Message ID:
00880490
Vues:
39
>>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)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform