Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A Synchronous 'Run' command
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00509179
Message ID:
00509216
Vues:
22
Gerard,

You won't be able to use the scripting host in FPW. You can maybe use ShellExecute() if you jump through all the API hoops calling it via FoxTools.FLL. I stopped using FPW years ago.

It's much easier to use a semaphore file. Delete it from inside FPW before you call the VFP code. Then go into a suspend loop waiting for the file to show up. The VFP code creates the file at the end of it's run, which will let your FPW code continue.

>I need to run a VFP application from within FPW, but want the FPW app to wait until the VFP app has finished. The 'RUN' command is asynchronous , so the minute it starts, control goes back to the FPW app.
>
>I've seen refernces here to Windows Shell scripting ,which might do the job, Has anybody any ideas of how this nmight work.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform