+ Reply to Thread
Results 1 to 2 of 2

Thread: Kill a Process

  1. #1

    Kill a Process

    I want to use VBS to Kill a Process by windows title , e.g : if the windows title is "Internet Explorer" , i want to kill that process

  2. #2
    Junior Member
    Join Date
    Jan 2012
    Posts
    45
    Code:
    Option Explicit
    
     Dim arrProcesses, arrWindowTitles
     Dim i, intProcesses
     Dim objJSSys
     Dim strProcList
    
     Set objJSSys = CreateObject( "JSSys3.ops" )
     objJSSys.CloseProgram "Internet Explorer", 1
     Set objJSSys = Nothing

+ Reply to Thread

Bookmarks

Posting Permissions

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