Find Code:
All Words
Any of the Words
Exact Phrase
Home
:
Code
:
Forums
:
Submit
:
Mailing List
:
About
:
Contact
Code
All
VB.NET
ASP.NET
C#
VB Classic
ASP Classic
Snippets
Popular
Resources
Submit Code
Forums
Articles
Tips
Links
Books
Contest
Link to us
Kill Process
Author:
Matt Kruluts
Submitted:
7/3/2009
Version:
VB6
Compatibility:
VB6
Category:
Miscellaneous
Views:
12112
I searched around the internet looking for a way to terminate a process running on the local machine. Finally, I thought of my own way of doing it (more than likely thought of by others). This is easy and perfect if you know the name of the process you want to kill.
Declarations:
'none
Code:
Shell("tskill processname") //Replace "processname" with your process //Example: taskmgr.exe //Shell("tskill taskmgr")
Home
|
Forums
|
Submit
|
Books
|
Mailing List
|
Advertising
|
About
|
Contact
© 2024 A1VBCode. All rights reserved.
Legal disclaimer & terms of use
Privacy statement