Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Running separate process
Message
From
01/12/2020 02:58:40
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Running separate process
Miscellaneous
Thread ID:
01677343
Message ID:
01677343
Views:
79
I created a small executable to run a process in the background, so the application does not hang while the process is executed. A timer then checks for the file created and shows the result. I did not use ParallelFox, because I did not want to register any additional libraries at the clients, but not sure if I can succeed.

Because there is one small problem: When starting the process (using api_Apprun with "HID") the main application loses its focus for a short time. That can be annoying when you are typing or doing anything, and then for a split second the focus goes away, and that every few minutes. So I wonder if there is a way to run the process without losing focus of the calling application, or if there is a way to use ParallelFox without registering, or perhaps another idea?
Christian Isberner
Software Consultant
Next
Reply
Map
View

Click here to load this message in the networking platform