Results 1 to 4 of 4

Thread: How to kill the previous instance of my application

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jan 2005
    Posts
    18

    How to kill the previous instance of my application

    With App.PrevInstance = True, I can check if my previous instance is renning or not. If its running, I want to terminate it. How do we do that.

    Thanks

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: How to kill the previous instance of my application

    VB Code:
    1. If App.PrevInstance = True Then
    2. Unload Me
    3. End If

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Jan 2005
    Posts
    18

    Re: How to kill the previous instance of my application

    May be I was not clear. I want to Kill the previous instance. Not the current one.

  4. #4

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width