Determine if only one instance is running
Determine if only one instance is running
You are encouraged to solve this task according to the task description, using any language you may know.
You are encouraged to solve this task according to the task description, using any language you may know.
This task is to determine if there is only one instance of an application running.
Visual Basic
Language Version: 6
Dim onlyInstance as Boolean onlyInstance = not App.PrevInstance