Process monitor

Please support our VB.NET advertiser: Intel Parallel Studio Home
Thread Solved

Join Date: Aug 2007
Posts: 113
Reputation: scrypt3r is an unknown quantity at this point 
Solved Threads: 2
scrypt3r's Avatar
scrypt3r scrypt3r is offline Offline
Junior Poster

Process monitor

 
0
  #1
Aug 25th, 2008
Does any one know the code to retreve process info and put it in a box like task manager?
Yes you can, in fact, haz cheezburgerz
Reply With Quote Quick reply to this message  
Join Date: Nov 2007
Posts: 2,641
Reputation: Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light 
Solved Threads: 245
Jx_Man's Avatar
Jx_Man Jx_Man is offline Offline
Posting Maven

Re: Process monitor

 
2
  #2
Aug 25th, 2008
Try this :
  1. Private Sub ProcessView()
  2. Dim Prc As Process()
  3. Dim x As Integer
  4.  
  5. Prc = Process.GetProcesses
  6.  
  7. For x = 0 To UBound(Prc)
  8. ListBox1.Items.Add(Prc.GetValue(x))
  9. Next
  10. End Sub
Last edited by Jx_Man; Aug 25th, 2008 at 10:55 am.
Never tried = Never Know
So, Please do something before post your thread.
* PM Asking will be ignored *
Reply With Quote Quick reply to this message  
Join Date: Aug 2007
Posts: 113
Reputation: scrypt3r is an unknown quantity at this point 
Solved Threads: 2
scrypt3r's Avatar
scrypt3r scrypt3r is offline Offline
Junior Poster

Re: Process monitor

 
0
  #3
Aug 25th, 2008
thanks
Yes you can, in fact, haz cheezburgerz
Reply With Quote Quick reply to this message  
Join Date: Nov 2007
Posts: 2,641
Reputation: Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light 
Solved Threads: 245
Jx_Man's Avatar
Jx_Man Jx_Man is offline Offline
Posting Maven

Re: Process monitor

 
0
  #4
Aug 25th, 2008
You're Welcome
Never tried = Never Know
So, Please do something before post your thread.
* PM Asking will be ignored *
Reply With Quote Quick reply to this message  
Join Date: Jan 2008
Posts: 97
Reputation: Estella is an unknown quantity at this point 
Solved Threads: 6
Estella's Avatar
Estella Estella is offline Offline
Junior Poster in Training

Re: Process monitor

 
0
  #5
Aug 26th, 2008
hi.. thanks.
i never know this.
simple but great
Reply With Quote Quick reply to this message  
Join Date: Aug 2007
Posts: 113
Reputation: scrypt3r is an unknown quantity at this point 
Solved Threads: 2
scrypt3r's Avatar
scrypt3r scrypt3r is offline Offline
Junior Poster

Re: Process monitor

 
0
  #6
Aug 26th, 2008
Ah, your code simply puts a blank entry into the box, does anyone know how to retreve the processes name/info ?
Yes you can, in fact, haz cheezburgerz
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 5,264
Reputation: iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold 
Solved Threads: 377
Featured Poster
iamthwee's Avatar
iamthwee iamthwee is offline Offline
Posting Expert

Re: Process monitor

 
0
  #7
Aug 26th, 2008
ListBox1.Items.Add(Prc(x).ProcessName)
*Voted best profile in the world*
Reply With Quote Quick reply to this message  
Join Date: Nov 2007
Posts: 2,641
Reputation: Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light 
Solved Threads: 245
Jx_Man's Avatar
Jx_Man Jx_Man is offline Offline
Posting Maven

Re: Process monitor

 
2
  #8
Aug 26th, 2008
>> ListBox1.Items.Add(Prc(x).ProcessName)

thanks iamthwee for the correction.
Last edited by Jx_Man; Aug 26th, 2008 at 7:23 am.
Never tried = Never Know
So, Please do something before post your thread.
* PM Asking will be ignored *
Reply With Quote Quick reply to this message  
Join Date: Aug 2007
Posts: 113
Reputation: scrypt3r is an unknown quantity at this point 
Solved Threads: 2
scrypt3r's Avatar
scrypt3r scrypt3r is offline Offline
Junior Poster

Re: Process monitor

 
0
  #9
Aug 27th, 2008
Ah thanks
Yes you can, in fact, haz cheezburgerz
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the VB.NET Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC