以文本方式查看主题

-  Foxtable(狐表)  (http://www.foxtable.com/bbs/index.asp)
--  专家坐堂  (http://www.foxtable.com/bbs/list.asp?boardid=2)
----  关闭第三方软件  (http://www.foxtable.com/bbs/dispbbs.asp?boardid=2&id=124961)

--  作者:sdscen
--  发布时间:2018/9/17 12:36:00
--  关闭第三方软件
如何关闭已打开的第三方软件
--  作者:有点甜
--  发布时间:2018/9/17 12:44:00
--  

http://www.foxtable.com/webhelp/scr/2713.htm

 


--  作者:有点甜
--  发布时间:2018/9/17 12:44:00
--  

或者

 

Dim ps As  System.Diagnostics.Process() = System.Diagnostics.Process.GetProcesses()
For Each p As System.Diagnostics.Process In ps
    output.show(p.processName)
    If ("Excel" = p.ProcessName)
        msgbox(p.MainWindowTitle)
        p.kill
    End If
Next