gzh888666 发表于 2009-12-12 03:43:12

无法猎杀IE 高手指点

安装搜狗拼音过程中,弹出搜狗属性的IE进程,使用一下代码无法猎杀,高手指点呀,猎杀IE有什么更好的办法?AdlibEnable("KillProcess","300");杀弹出的IE窗口

Func KillProcess()

If ProcessExists("360se.exe") Then

ProcessClose("360se.exe")

EndIf

If ProcessExists("iexplore.exe") Then

ProcessClose("iexplore.exe")

EndIf

If ProcessExists("theworld.exe") Then

ProcessClose("theworld.exe")

EndIf

EndFunc;--------猎杀进程--------

jlet 发表于 2009-12-20 07:34:03


ProcessWait("iexplore.exe")
ProcessClose("iexplore.exe")
等待IE进程出现再杀.
你用
If ProcessExists("iexplore.exe") Then
ProcessClose("iexplore.exe")
EndIf 判断,IE进程还没出现你就判断完了.看看是不是这个原因.
页: [1]
查看完整版本: 无法猎杀IE 高手指点