Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to keep running VFP exe
Message
De
10/07/2006 13:24:58
 
 
À
06/07/2006 09:23:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01134118
Message ID:
01135031
Vues:
19
>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform