By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,239 Members | 1,493 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,239 IT Pros & Developers. It's quick & easy.

task manager

P: n/a
hi i was wondering how i might go about creating a task manager that shows
all runnings processes....i checked with
http://www.windowsformsdatagridhelp....8-a07917f8c3e4
as stated with an earlier question with this, but it said to reference
"System.Management" when there is no such class....so if anyone could let me
kno of any websites etc that could help me out thatd b great
thanks
--
-iwdu15
Nov 21 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
"iwdu15" <iw****@discussions.microsoft.com> schrieb:
hi i was wondering how i might go about creating a task manager that shows
all runnings processes....i checked with
http://www.windowsformsdatagridhelp....8-a07917f8c3e4
as stated with an earlier question with this, but it said to reference
"System.Management" when there is no such class....


Make sure your project contains a reference to "System.Management.dll". To
add a reference click "Project" -> "Add reference...".

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #2

P: n/a
thanks that worked, i put each process in a listcheckbox, so how would i kill
each process thats checked? like how would i get the process info to kill?
Nov 21 '05 #3

P: n/a
iwdu15

There is a lot of information about your question when you search on MSDN on
"services".

I thougt that there was also a sample handling this in the 101 VB samples
that is on MSDN.

http://www.microsoft.com/downloads/d...displaylang=en

I hope this helps,

Cor
Nov 21 '05 #4

P: n/a
"iwdu15" <iw****@discussions.microsoft.com> schrieb:
thanks that worked, i put each process in a listcheckbox, so how would i
kill
each process thats checked? like how would i get the process info to kill?


If you are using WMI:

<URL:http://groups.google.de/groups?q=dotnet+Win32_Process+Terminate>

If you are using 'System.Diagnostics.Process':

'Process.CloseMainWindow', 'Process.Kill'.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.