Solved

Monitoring Processes

Posted on 1998-12-01
2
140 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

Enroll in July's Course of the Month

July's Course of the Month is now available! Enroll to learn HTML5 and prepare for certification. It's free for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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…
Suggested Courses
Course of the Month8 days, 20 hours left to enroll

615 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