I managed to come up with a working solution:
Dim nameProcess() As System.Diagnostics.Process = System.Diagnostics.Process.GetProcesses
For i = 0 To nameProcess.Length - 1
If nameProcess(i).ProcessName.StartsWith("3D") Then
Dim exeName As String =...
I have to kill a process (an exe file) that does not have a distinctive name. All I know are the first two chars of its name for eg "3D". I have tried to use wildcards (3d*) but these do not work.
I have managed to verify that the process is running but I can't figure out how to search through...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.