Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Best zipping solution (activeX or else)
Message
De
05/10/2015 15:44:01
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turquie
 
 
À
05/10/2015 01:53:43
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01625178
Message ID:
01625494
Vues:
84
This message has been marked as a message which has helped to the initial question of the thread.
I can't remember who gave this code me, thank him/her. This is for zip:
LPARAMETERS cFileZip,cSource
Wait WINDOW NOWAIT cfilezip+" dosyası "+csource+" dosyasına yedekleniyor..."
strtofile(chr(0x50)+chr(0x4B)+chr(0x05)+chr(0x06)+replicate(chr(0),18),cFileZip)
o=CREATEOBJECT("shell.application")
FOR EACH ofile IN o.NameSpace(cSource).items
   o.NameSpace(cFileZip).copyhere(ofile)
ENDFOR
this is for unzip:
LPARAMETERS cFileZip,cDestination

o=CREATEOBJECT("shell.application")
FOR EACH ofile IN o.NameSpace(cFileZip).items
    o.NameSpace(cDestination).copyhere(ofile)
ENDFOR
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform