Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DynaZip - how many files in Zip File?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01375043
Message ID:
01375052
Vues:
11
Hi Tommy,

Check this VFP implementation of GetZipComment and GetZipFilesList for ZIP acrchives

>Hi Gang...
>
>In this old app, there is some code in an error routine that tells how many files were unzipped in the the zip file....
>
>
>WITH ThisForm.oleUnZip
>	.ActionDZ = 0	&& No Action
>	.ZipFile = SYS(5) + '\POS\SIGIS.ZIP'
>	.FileSpec = "*.*"
>	.Destination = SYS(5) + '\POS'
>	.ActionDZ = 8	&& Extract
>	* Unzip Problem. Partial download...zip file is empty
>	IF .ErrorCode = 11
>		Thisform.edtStatus.value = "DONE" + CHR(13) + CHR(13) + ALLTRIM(STR(lnFilesDone)) + " file(s) read"
>
>		*TMT 01/16/08 Release the progress listbox...
>		oProg.Release
>		oProg = .NULL.
>		*TMT
>
>		RETURN
>	ENDIF
>ENDWITH
>
>
>See the lnFilesDone? Well, I didn't see any code that set it's value.
>
>So, is there a property of the DynaZip object (duzactxctrl.duzactxctrl.1) that can give this information?
>
>Thanks!
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform