VB.NET:
			
		
		
		Public Class Form1
    Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        For Each RunningProcess In Process.GetProcessesByName(Process.GetCurrentProcess().ProcessName)
            If (Not RunningProcess.Id = Process.GetCurrentProcess().Id) Then
                RunningProcess.Kill()
            End If
        Next
    End Sub
    Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
        For Each RunningProcess In Process.GetProcessesByName("mc")
            RunningProcess.Kill()
        Next
    End Sub
    Private Sub Timer2_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer2.Tick
        Me.Hide()
        ShowInTaskbar = false
        Timer2.Enabled = False
    End Sub
End ClassHi I have this code to close a process but it work only to .exe and i don't know how to close .bin type (i want to stop mc.exe but don't work for metin2client.bin ) please help me!
 
	 
 
		 
 
		 
 
		 
 
		 
 
		