Hi Is there a way of checking if an application is already running to stop the user from running a second, and if so switch to the program and make the window active?
in VB6 I would use the following to stop the program from running a duplicate
B4X:
If App.PrevInstance = True Then
MsgBox "Your Application Is Already Running", vbInformation + vbOKOnly, "Application Already Running"
Unload Me
End
End If
Hello, I switched to using JavaPackager, but I can't find how to run a single instance of my application. Before I could do it with Launch4J. Idea anyone? Regards Jmon.
I wanted to limit my app to running as a single instance, in both Windows and Linux. Several solutions for this single instance problem have been posted, but usually do not include running in Linux. Erel made a few suggestions in one of his posts. One of these was to use an external file as a...