Solved

Monitoring Processes

Posted on 1998-12-01
2
139 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

[Webinar] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

Question has a verified solution.

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

Suggested Solutions

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…

739 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