Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to keep running VFP exe
Message
From
10/07/2006 13:24:58
 
 
To
06/07/2006 09:23:16
General information
Forum:
Visual FoxPro
Category:
Internet applications
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01134118
Message ID:
01135031
Views:
18
>I have a web app. that has the following structure:
>html forms are submitted into same asp page that creates an object from the VFP exe module for all the data processing.
>Here is an asp page:
>
><SCRIPT LANGUAGE="JavaScript" RUNAT="Server">
>var oComObj = new ActiveXObject('webconnector.connector');
>oComObj.minitiate(Server, Request, Response, Session);
>oComObj.mDispetch('scanmonitor', 'frmscanmonitor');
></SCRIPT>
>
>Is it possible to keep VFP exe runnning after the http request has been processed?

Try to play with ON SHUTDOWN handler.
For example:
ON SHUTDOWN DO ShutdownHandler

PROCEDURE ShutdownHandler
  ON SHUTDOWN QUIT
ENDPROC 
This way first application shutdown attempt (when client is disconnected) is blocked and application still run. But second attempt to shutdown must be unblocked to allow manual shutdown.
/A new technology turns into completely outdated stuff before you have a time to read "Getting Started..." section.
/If there are some "system programmers" then others are unsystematic.
Previous
Reply
Map
View

Click here to load this message in the networking platform