How To: Enumerate Process IDs

  • Thread starter Thread starter Kevin McCartney
  • Start date Start date
K

Kevin McCartney

Hi,
I'd like to be able to enmuerate through all the current
processes shown in the Task Manager. I've looked at
EnumWindows, EnumProcess etc but none are helpful because
they relate to C++ or VB.Net. I need an Access 97 code
sample. I just need some code sample that spits the
Process IDs to the debug window. Alternatively if its
possible, when I create a New Excel Application and create
a new Workbook, to retain the Process ID there. In
addition I'd need code to see if a Process ID is still
available and if so end the process ID.

Thanks in advance
KM
 
Back
Top