View Full Version : VB: Switch focus to another app

02-04-2005, 11:27 PM
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.