Forum Home
Press F1
 
Thread ID: 118421 2011-06-03 08:46:00 Killing process "explorer.exe" in VB. bot (15449) Press F1
Post ID Timestamp Content User
1206697 2011-06-03 08:46:00 Is there a way to kill the process "explorer.exe" in Visual Basic.NET? bot (15449)
1206698 2011-06-03 09:05:00 p = System.Diagnostics.Process.GetProcessesByName("explorer");
p.kill();


of course, given there's potential for multiple processes called explorer.exe you may need to grab the returned process list as an array and step through em.
inphinity (7274)
1206699 2011-06-03 10:59:00 p = System.Diagnostics.Process.GetProcessesByName("explorer");
p.kill();


of course, given there's potential for multiple processes called explorer.exe you may need to grab the returned process list as an array and step through em.

Thanks. God, I need to learn how Google properly :derp:
bot (15449)
1206700 2011-06-03 16:12:00 To be honest I would far sooner learn how to kill VB.
Having written programs in Turbo Pascal/Delphi that have run from Win95 through and tried to get VB programs even doing one jump is too much effort.
mikebartnz (21)
1