Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Zip.file
Message
De
13/02/2006 06:25:17
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turquie
 
 
À
13/02/2006 02:43:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Versions des environnements
Visual FoxPro:
VFP 9
Database:
Visual FoxPro
Divers
Thread ID:
01095699
Message ID:
01095793
Vues:
12
My form doesn't run at your pc. Because, it depended my controll classes.

but zipmgr's help very good. Put that class into your form. these are which I use for zip and unzip.
thisform.zipmgr.setincludesubfolders(.t.) &&--- if subfolders will include
thisform.zipmgr.setpassword(xpass) &&---- password
thisform.zipmgr.setoverwritefiles(.t.) &&--- file overwrite thisform.zipmgr.setrunminimized(.f.) &&--- mimimized run 
thisform.zipmgr.setstorefolderinfo(.t.) &&--- folder info for extact same folder
  IF thisform.tur.Value=1 
*--------------- zip ----------------------------
       ERASE (xfile)
     IF !thisform.zipmgr.addfiles(xfile,"*.dbf *.fpt *.mem *.txt")
            STOP("Problem : "+thisform.zipmgr.geterrormessage())
     ENDIF 
  ELSE
*----------------- unzip -----------------------------
     IF !thisform.zipmgr.extractfiles(xfile)
            STOP("Problem : "+thisform.zipmgr.geterrormessage())
     ENDIF 
  ENDIF 
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform