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
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