Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Unzip Files Using Dynazip
Message
De
16/04/2008 08:55:54
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2000 Server
Divers
Thread ID:
01311036
Message ID:
01311048
Vues:
23
It's kind of hard to explain without being able to show you but you know when you open a zip file using a utility like winzip and there is field labled "Path". If there is a path under this field the code I'm using to extract the files does not work but if the files are zipped up without including the path, the files extract without any problems.


Sample Code:
ThisForm.Olecontrol2.zipfile = zip_file
ThisForm.Olecontrol2.filespec = extract_files
ThisForm.Olecontrol2.destination = work_dir

_VFP.AUTOYIELD = .F.
ThisForm.Olecontrol2.QuietFlag = .T.
ThisForm.Olecontrol2.AllQuiet = .T.
ThisForm.Olecontrol2.OverwriteFlag = .T.
ThisForm.Olecontrol2.actiondz = 8
_VFP.AUTOYIELD = .T.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform