Hi all,

I have the following code to detect if my application is already running; if so, how can i terminate the previous instance of my application.
VB Code:
  1. If App.PrevInstance Then
  2.   'App is already running
  3.   'Here I want to unload the previous instance
  4. End If
Thanks in advance.