#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2002
    Location
    newark, de
    Posts
    1
    Rep Power
    0

    how do I kill a PID in VB?


    Ok, ok...I'm a stupid Perl programmer trying to do the Win32 thing. Could someone tell me how I kill a PID in VB? In being creative, I used taskkill.exe which I invoked from shell, but it does not work on win98/95, only on XP. I'm just looking for a method to kill the PID for all systems win95 to present. Thanks.
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed God 1st Plane (5500 - 5999 posts)

    Join Date
    Oct 2000
    Location
    Back in the real world.
    Posts
    5,966
    Rep Power
    191
    if the task has a window associated, send it a WM_CLOSE message.

IMN logo majestic logo threadwatch logo seochat tools logo