Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP control over other apps
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00095695
Message ID:
00095709
Vues:
18
>Hello All
>I am creating an application that after manipulation I close
>and then through a RUN command call a bat file that implements
>another application that uses this table. How can I stop my
>code from proceding at this point and only continue when the
>other application is finished with the table??

One of the possible ways:

You can use other table (or cursor) to control when the other application is finished.
*//---------
...
replace OtherTable.ApplicationFinished with .f. next 1
*
* other application must replace this field with .t. then finished
*
run ...
*
* the waiting loop here
*
do while !OtherTable.ApplicationFinished
*
* delay and checking for key press on any event (malfunction of other program etc)
*
*
enddo
*
* the other application is finished
*
*//---------

Alexander Grigorjev
Alex
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform