08-25-2010, 03:00 AM
08-25-2010, 04:57 AM
(08-25-2010, 03:00 AM)`P R O D I G Y™ Wrote: [ -> ]I find it quite often that my programs always end up in my proccesses even after they're closed :\, what am I doing wrong?
make sure the program is set to exit process on form1 close
08-25-2010, 05:44 AM
Start task manager , select the application you want to end process , than right click and choose go to process after selecting the specific process right click again , a menu will popup , select end process OR end process tree to end the process..
There will be no alteration in other running applications !
There will be no alteration in other running applications !
08-25-2010, 06:03 AM
I mean in code, not manually... Jeez
08-25-2010, 07:07 AM
Code:
Dim pProcess() As Process = System.Diagnostics.Process.GetProcessesByName("process name")
For Each p As Process In pProcess
p.Kill()
Next
Haven't tested this but it should work. (You will have to convert to VB6)
08-25-2010, 10:18 AM
Ah, okay. I thin Unload Me, works aswell. Thank you!