Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Webservice design
Message
 
To
27/05/2007 20:43:29
Arnold Lee
K&A International Co.,Ltd
Hong Kong, Hong Kong
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01228815
Message ID:
01228895
Views:
14
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?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform