Hi Rick
Thanks for your reply.
I downlaoded this class but dont know how to use it.
Is there any help anywhere available with instrcutions on how to use
(I realise that Ed passed away some years ago)
Regards,
Gerard
>You need a "run process and wait" capability. Take a look at Ed Rauh's API_APPRUN class file#
9477, which can do this for you.
>
>>Hi.
>>
>>I have an app in VFP which does a call out to the Winzip Command Line to backup some files. Pseudo code as follows:
>>
>>Sele Fil
>>Goto top
>>Do while not eof()
>> WZZIP a*.* MyUniqueName && This is WinZip Command Line
>> Copy MyUniqename to Network Drive
>>
>> Sele Fil
>> SkiP
>>Enddo
>>
>>The problem I have is that control is returned immediately to the Copy caommand, before the Winzip is finished.
>>Also, the way Winzip works, the MyUniqueName.zip is actually created on disk at the start of the zip, so I cant test on the existence of the file or not.
>>
>>I have used a Loop which just waits 1o minutes, but some zips will only take 1 minute and others may take 12 mins.
>>
>>Any ideas on this appreciated.
>>
>>regards,
>>Gerard