Solved

Monitoring Processes

Posted on 1998-12-01
2
137 Views
Last Modified: 2010-05-03
I need to obtain a list of running process id and manipulate the process. Is there any VB function or API which return the list of process?
0
Comment
Question by:wonghy
2 Comments
 
LVL 4

Expert Comment

by:CraigLazar
ID: 1447728
Hi
Processeswhat do u mean , any processes on the pc , dlls running or being read by a certain application ?
0
 
LVL 14

Accepted Solution

by:
waty earned 100 total points
ID: 1447729
Read the following articles :

http://vbaccelerator.com/codelib/taskman/taskman.htm
http://support.microsoft.com/support/kb/articles/q187/9/13.asp
http://www.mvps.org/vbnet/code/system/toolhelpprocesses.htm

Shows how to use EnumWindows to iterate through all the top-level windows, filtering to build a Task List replica. Also shows how to get around the lame restrictions on SetForegroundWindow imposed in Win98 and Windows 2000.

To be featured in my Ask the VB Pro column, VBPJ, February 1999.    (9K)

TaskList.zip : http://www.mvps.org/vb/code/TaskList.zip

0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now