Take a look at Re: How to kill a COM process Message #731709.
>Hi All > >Is there a way to kill a process from a VFP app under Win NT/2K if I know the PID of the process? I have found a program called PSKILL.EXE but this requires shelling out to a DOS window which is ugly. > >Thanks > >Jos