how to kill a process in vb.net
I've launched wampserver using vb.net when the application loads. M开发者_StackOverflow中文版y problem is, how do I kill the wamp server process when I exit the program.
Dim arrProcess() As Process = System.Diagnostics.Process.GetProcessesByName("wampserver")
For Each p As Process In arrProcess
p.Kill()
Next
精彩评论