"Husam" <Hu***@discussions.microsoft.com> schrieb:
How can I get the process by its name and stop it ?
\\\
Dim Processes() As Process = _
Process.GetProcessesByName("notepad")
For Each Process As Process In Processes
Process.CloseMainWindow()
Next Process
///
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>