我画一个空白,有这个我知道是错的
Dim myProcesses As Process() = Process.GetProcessesByName("iexplore")
Dim myProcess As Process
For Each myProcess In myProcesses
If myProcess.ProcessName.ToString IsNot Nothing Then
MsgBox(myProcess.ProcessName.ToString)
ElseIf myProcess.ProcessName.ToString Is "" Then
MsgBox("closed")
End If
Next myProcess