Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Add various files using Dynazip
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Divers
Thread ID:
00060774
Message ID:
00060783
Vues:
20
>>I am using Dynazip in Visual FoxPro. I would like to know if we can add several files coming from various destination to build our zip file? I mean, instead of having to build a temporary directory with all the files to be zipped, is there a way of adding them in the list of files to be zipped and call the zip action instead of having to build a temporary directory to hold the zip structure.
>
>If you are using the .OCX, its .ItemList property requires that the full path of each file be specified. Therefore, I don't see how it even matters whether paths to different files are the same.

When I tried that yesterday, I found that ItemList is reset everytime I assign something to it. So, if I have 3 ItemList in a row, only the last one will be added. I guess I did something wrong. :) So far, ItemList was always c:\mypath\*.*. So, from what you say, I should be able to have something like this:

ThisForm.Dynazip.ItemList=c:\mypath\file1.ext
ThisForm.Dynazip.ItemList=c:\mypath\mysubdir\file2.ext
ThisForm.Dynazip.ItemList=c:\mypath2\myothersubdir\myfantasticsubdir\file3.ext
ThisForm.Dynazip.Action=4
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform