Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Launch another EXE
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00792400
Message ID:
00792427
Vues:
11
>Hi,
>
>I have an app that launches another apps.
>It is a treeview.. when you double click on a node, it launches another exe using ShellDoc, these exes are client server and they open a connection to Oracle...
>
>well... all this works fine, but I want to add another feature...
>I want to change the label of the node once the exe is connected ... my question is:
>How can I know if the connection failed or not ... I mean.. once I launch the exe using Shelldoc I lose control of the exe (and thats the idea of my app, launch exe with no wait) ...
>
>is thare a way to tell shelldoc or another similar program to wait until a flag or something change (this flag would be changed by the launched exe) to return , and get some return parameters ?
>
>the exes I launch are VFP 6 and made by me (I mean, I have the source code)...
>
>thanks any help... I'm lost about this...
>I thought that the exe saves a file and then read it... but once launched there may be a delay at conections and the files would be created few second later... so when to read the file?...
>
>I don't know... any ideas???
>
>fabian

One way to do it - use the timer that in a given interval will look for the status files created in a certain directory by EXEs that you run.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform