A family of Microsoft presentation graphics products that offer tools for creating presentations and adding graphic effects like multimedia objects and special effects with text.
Because of the use of Integers (rather than Longs) and User instead of User32, I'm guessing that you've found some very old (and no longer workable) VB.
I've managed to modify it to the point where it'll compile and run but it takes PPT down more reliably than Notepad. ;-(
Give this one a try instead (substitute the exe name of the program you want to whack in place of notepad.exe):
Private Sub Command1_Click()
TerminateProcess ("notepad.exe")
End Sub
Private Sub TerminateProcess(app_exe As String)
Dim Process As Object
For Each Process In GetObject("winmgmts:").ExecQuery("Select Name from Win32_Process Where Name = '" & app_exe & "'")
Process.Terminate
Next
End Sub