G
Guest
The following vb code will identify that mstsc.exe is actually running, but I
can't find a way to kill it. I've searched google groups etc. but no luck so
far. It does seem though, that a lot of people are lookig for an answer to
this.
--------------------------------------------------------
Imports OpenNETCF.ToolHelp
Dim pe()
Dim p As Process
pe = ProcessEntry.GetProcesses()
For i = 0 To UBound(pe)
If pe(i).ToString = "mstsc40.exe" Then '... this works
p = Process.GetProcessById(i) ' .... this doesn't work
p.Kill() ' ..................................... so nor
does this
End If
Next i
can't find a way to kill it. I've searched google groups etc. but no luck so
far. It does seem though, that a lot of people are lookig for an answer to
this.
--------------------------------------------------------
Imports OpenNETCF.ToolHelp
Dim pe()
Dim p As Process
pe = ProcessEntry.GetProcesses()
For i = 0 To UBound(pe)
If pe(i).ToString = "mstsc40.exe" Then '... this works
p = Process.GetProcessById(i) ' .... this doesn't work
p.Kill() ' ..................................... so nor
does this
End If
Next i