Results 1 to 3 of 3

Thread: Close Any Running Application or its Instances

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Nov 2002
    Posts
    83

    Cool Close Any Running Application or its Instances

    i have a Player Running on my window now i need to close it down .....
    or any application like Notepad

    how can i close it down....
    i m running this application through Command Line Interface
    one way in know is to kill the Process... any other way ....

  2. #2
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: Close Any Running Application or its Instances

    here is a thread that I answered the very same question. you can search the forum for questions by using phrases.

    http://www.vbforums.com/showthread.p...ht=end+process

    the last post (by me) has links to api.net, which shows how to use the API's that will do it.

    here's the Terminate Process link:

    http://www.mentalis.org/apilist/TerminateProcess.shtml
    Last edited by dglienna; Dec 15th, 2004 at 03:55 AM.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Nov 2002
    Posts
    83

    Re: Close Any Running Application or its Instances

    Thanks This Works fine but the Probloem is that i need to close the Other Application which i have invoked not my own application .......... this has close my application ......... i mean current process has terminated my program but iwant to close other program .... e.g i have initiated the instance of Notepad through my program and now i want it to be closed

    not my own Program

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