General information
Category:
Coding, syntax & commands
Title:
Preventing Multiple Launches
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only