开发者

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
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜