>Ko
>
>The API still stops processing.
>
>Currently I have a form with a Timer on it, and it copies the file from there.
>
>Can you go into more detail about Timer, I may be doing something wrong.
>
>Thanks
>Kev
No matter what you do within your application (VFP copy, API, WSH), it's all going to stop processing because of the single threaded nature of VFP.
The only way I know to get around this is to create an out-of-process COM server (EXE) and launch that using Createobject(). You could set a property cCommand of that object and launch a timer within it. It will run outside of your thread and the only thing you have to do is periodically check a status property to determine if it completed or errored out.
HTH.
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao