Results 1 to 4 of 4

Thread: Terminate a Non-VB Application

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2008
    Posts
    6

    Terminate a Non-VB Application

    Hey, guys ... Is there a way to terminate another application from VB.Net? The other application was launched by my VB Application, but ... If I keep launching it ... there will be multiple of them. I just need to make sure to kill it before a new one is launched.

    Thanks.

  2. #2
    Code Monkey wild_bill's Avatar
    Join Date
    Mar 2005
    Location
    Montana
    Posts
    2,993

    Re: Terminate a Non-VB Application

    Code:
    Dim p As Process = Process.Start("notepad")
    'do some work
    p.Kill()

  3. #3

    Thread Starter
    New Member
    Join Date
    Mar 2008
    Posts
    6

    Smile Re: Terminate a Non-VB Application

    It works great.
    Thanks.

  4. #4
    Frenzied Member Icyculyr's Avatar
    Join Date
    Aug 2007
    Location
    Australia
    Posts
    1,934

    Re: Terminate a Non-VB Application

    Please mark your thread as resolved.

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