Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Launch another EXE
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Launch another EXE
Miscellaneous
Thread ID:
00792400
Message ID:
00792400
Views:
43
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
Next
Reply
Map
View

Click here to load this message in the networking platform