Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Preventing Multiple Launches
Message
From
30/11/1999 12:59:12
Michael Dougherty
Progressive Business Publications
Malvern, Pennsylvania, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Preventing Multiple Launches
Miscellaneous
Thread ID:
00296974
Message ID:
00296974
Views:
68
The application resides on a network drive, and the user launches it from a desktop icon. Due to the 2-3 second start time, the impatient user tends to launch the application a second or third time. To make matters worse, the READ EVENTS of the first form prevents the READ EVENTS on the second form from starting and the user is looking with an inert (second) version of the form.

I've tried wexist("MyScx_name") and wexist("MyScx_Caption") and neither are available to determine if the program is already running. Even if that worked, would the second launch be able to detect the first window if it hadn't yet opened?

Is there a simple way to prevent multiple launches, or do I have to create a process that can check if the program is running?
Next
Reply
Map
View

Click here to load this message in the networking platform