PDA

View Full Version : Vb.NET Help



icow
14-01-2011, 09:56 AM
I'm trying to write a script that starts and stops applications. I have this so far: System.Diagnostics.Process.Start _
("C:\whatever\yourexe.exe")

which loads what ever file path I specify. Does anyone know what the "end" or equavilant is in VB. Note: it has to be compatible with: System.Diagnostics.Process

BTW I tried stop end and so one. This script is on a button.

inphinity
14-01-2011, 10:03 AM
The Process class should have Close and Kill methods.