0

Guys anyone know how to stop or close a running program remotely through a vb.net program? I am already aware on how to run or open one using the System.Diagnostics.Process.Start method. I would be needing it in my next project

Thanks

3
Contributors
8
Replies
9
Views
5 Years
Discussion Span
Last Post by markdean.expres
0

U want to stop the application which u ran using the process.start?

Edited by Pgmer: n/a

0

I would imagine Process.Kill or Process.Close and if that fails you can always shell out to kill.exe or (if you download the free SysInternals suite) pskill.exe.

0

Are you associating the process by creating an instance to it? If yes you should be able to kill it.

0

Now I have the .kill method. I created an instance by;
Dim MyProcess as Process = New Process.

0

actually, it works now. However, I am still having a problem when I am changing the value of the MyProcess.StartInfo.Filename. The error says: no process is associated with this object

What could be the problem

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.