>>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