I would like to explain one of faq within this essay , how we kill the window process .
If any question, please feel free to contact me email@example.com.
A Process component provides access to a process that is running on a computer. A process, in the simplest terms, is a running application. A thread is the basic unit to which the operating system allocates processor time. A thread can execute any part of the code of the process, including parts currently being executed by another thread.
The Process component is a useful tool for starting, stopping, controlling, and monitoring applications. Using the Process component, you can obtain a list of the processes that are running, or you can start a new process. A Process component is used to access system processes. After a Process component has been initialized, it can be used to obtain information about the running process. Such information includes the set of threads, the loaded modules (.dll and .exe files), and performance information such as the amount of memory the process is using.
You can use the code as below
dim my_process_name as string
Dim all_process As System.Diagnostics.Process
For Each all_process In System.Diagnostics.Process.GetProcesses()
Dim selected_process As String = my_process.Split("-").Trim()
If all_process.ProcessName = selected_process Then
Have a nice day,