How To List Running Processes (187913)
The information in this article applies to:
- Microsoft Visual Basic Professional Edition for Windows 5.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q187913 SUMMARY
This article illustrates how you can list the processes that are currently
running on a computer. The approach is different for Windows 95/98 and
Windows NT; this article illustrates both solutions.
REFERENCES
Portions of the code in this article were adapted from "Hardcore Visual
Basic" Second Edition by Bruce McKinney - Microsoft Press
For additional information on the GetVersionExA API, please see the
following article in the Microsoft Knowledge Base:
189249
: How To Determine Which 32-bit Operating System Is Being Used
For additional information on using PSAPI.DLL, please see the Microsoft
Systems Journal "Under the Hood" column by Matt Pietrek (August 1996 and
November 1996)
| Modification Type: | Minor | Last Reviewed: | 7/1/2004 |
|---|
| Keywords: | kbAPI kbAPI kbhowto kbPSAPI kbPSAPI KB187913 |
|---|
|