Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Zip.file
Message
From
13/02/2006 06:25:17
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turkey
 
 
To
13/02/2006 02:43:08
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Environment versions
Visual FoxPro:
VFP 9
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01095699
Message ID:
01095793
Views:
14
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 
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform