Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Putting pictures in a zip file
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Divers
Thread ID:
00466323
Message ID:
00468300
Vues:
34
Rick, here's the code I'm running from a PRG. Works fine.

Barbara

** Here we create an Xceed Zip object called oXCeed
oXceed = CREATEOBJECT("XceedSoftware.XceedZip.4")

If VARTYPE(oXceed) != "O"
   Return .F.
Endif

With oXceed
   .EncryptionPassword = 'ESDSet'
   .ZipFileName = cZipFile
   .FilesToProcess = (cPath2) + "*.*"
   .PreservePaths = .T.
   nResultCode = .zip
   If nResultCode <> 0
      lret = .f.
      cRC = ''
      cRC = .GetErrorDescription(0, nResultCode)
      cErrMsg = 'ZIP program did not work.  The error was ' + cRC
   Endif
Endwith
Barbara Paltiel, Paltiel Inc.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform