K
Kevin McCartney
Hi,
I'm looking to enumerate though all the all the
processes shown in the Task Manager. It would be even
better if I could get the PID of the New Excel Application
that I set up but I don't think that is possible. Anyway
what I'd like to do is get all PIDs before I open new
Excel Object and then after starting Excel enmuerate again
to find the new PID. (I may have an Excel Already open so
using the process Name 'XLMAIN', doesn't help.) I've
looked at EnumProcess, EnumWindows related to
WinAPI 'user32' library but they don't help because they
are all related to C++. Anyway if some has sample Access
VB code which buts the PID numbers to the debug window
this would be a great help.
Best regards
KM
I'm looking to enumerate though all the all the
processes shown in the Task Manager. It would be even
better if I could get the PID of the New Excel Application
that I set up but I don't think that is possible. Anyway
what I'd like to do is get all PIDs before I open new
Excel Object and then after starting Excel enmuerate again
to find the new PID. (I may have an Excel Already open so
using the process Name 'XLMAIN', doesn't help.) I've
looked at EnumProcess, EnumWindows related to
WinAPI 'user32' library but they don't help because they
are all related to C++. Anyway if some has sample Access
VB code which buts the PID numbers to the debug window
this would be a great help.
Best regards
KM