:: topengdigital ::

June 2, 2007

TASKKILL ( mematikan program )

Filed under: tips dan trik

membuat bat file untuk menghapus program antivirus, contoh disini menghapus AVG
dengan menggunakan bat file, copy paste source di bawa ini ke notepad, beri nama
hancurkan avg.bat

——————————

tasskill

—————————–
ini juga bisa dipakai untuk membunuh virus yang kerjanya ganda, apabila di end task 1
yang satu menghidupkan lagi file yang dimatikan, kekurangan dari taskkill adalah jika file yang
akan di hapus ada spasinya, dia tidak mampu menghapus, jika tidak percaya coba
anda buka 3gp player 2007.exe bisakah di hapus, jika ada yang mempunyai teknik lain tolong
diberitahu gue ya..!

topengdigital

Source code vb

Filed under: tips dan trik

mematikan program dengan vb , contoh disini mematikan calculator plus, anda bisa memodifnya

‘ You can always use the FindWindow-function and the PostMessage-function
‘ to find the wanted application, and then send it a message that it has to close itself.
‘ One disadvantage: you’ll need the exact caption of this application.

Private Declare Function FindWindow Lib “user32″ Alias “FindWindowA” (ByVal lpClassName As String, ByVal lpWindowName As String) As Long
Private Declare Function PostMessage Lib “user32″ Alias “PostMessageA” (ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As Any) As Long
Const WM_CLOSE = &H10

Private Sub Command1_Click()

Dim winHwnd As Long
Dim RetVal As Long
winHwnd = FindWindow(vbNullString, “Calculator Plus”)
If winHwnd <> 0 Then
PostMessage winHwnd, WM_CLOSE, 0&, 0&
Else
MsgBox “The Calculator is not open.”
End If

End Sub






















Get free blog up and running in minutes with Blogsome
Theme designed by Minz Meyer