ok guys, am trying to make a app that only lets you run it once. So far I have been successful, but i am haveing trouble trying to get the app to switch to the exe file that is already running.

If App.PrevInstance Then 'Is there a previous instance?
Unload Me 'If so close me
End If

I want it to switch back to the app that is already running. Thanks for your time.