Hello everyone
Is there any way to kill the python.exe in Task Managaer "On Windows" using visual basic
The Problem is that i do open more than 1 python file at the same, But on task manager it's hows me something like this
I have got the code to kill any progress in the task manager using Visual basic, But It doesn't work with python, Because i can't tell which one i opened first or which one was the second or the last


Dim p() As System.Diagnostics.Process = Process.GetProcessesByName("python")
        If p.Length = 1 Then

any body could help me with this please?
Thanks :)

This doesn't have anything to do with Python. See if the task manager gives a create time or does something simple, like number the processes sequentially so you can tell which is which. Perhaps someone else will know something more about Visual Basic and the Task Manager.

Thanks woooee
Where do you think I should post this or look for this ?
Thanks again

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.