Hi Arnold
You can keep the Web Service just to receive the request, analize the data, and if ok enter a record in a "todo" table. Then it will give an immediate answer, i,e "the mail will be sent shortly" or "missing data" in case of error etc...
You can then build an out-of-process com exe that just sits on that "todo" table, then runs the excel automation/mail sending stuff whenever it spots a new request in the table...
Jaime
>Dear All
>
>I have a vfp dll builded as a webservice for Excel automation and send as email in server side
>The process may take from 30 seconds to few minutes depending on complexity
>I don't like to keep user waiting and just repsonse to user somewhat like : "The mail will send to you shortly" and the dll keep doing rest of the job AFTER the message returned.
>
>Can anybody enlightening me how to do it ?
>
>Thank you
>Arnold
Why do programs stop working correctly as soon as you leave the Fox?