I am a total nooby at this.

Can someone give me a simple script on how I can close any program running by clicking a button?

I tried

Private Sub Command1_Click()
end ("C:\Program Files\..")
End Sub

But it said syntax error

help please