I have a couple of 'pesky' Excel error messages popping up sporatically during the execution of a routine which appear despite oExcel.DisplayAlerts = .F. And they seem to be for no functional reason. I want to shut down these error messages. But my application cannot locate them to close them.
Consequently I am looking to get a method that can be used to produce a list (Cursor, Array, etc.) of the processes running in Windows XP.
I have already used the methods described in
How to determine what application are iconified on the taskbar.
faq184-5470
This is a very useful set of methods and they work OK for me for other operations.
But they are not showing the same process list that I would see if I go into Task Manager and go to the Processes tab page - resulting in my application not 'seeing' the processes which are generating the error messages.
The full list that is shown in the Task Manager process tab list (and their ProcessID's) is what I am after.
I am sure that it is merely a matter of stringing together the correct group of Win API's and using their resultant values in some manner, but I am hoping that someone has already done something like this before me (I'd rather not have to re-invent the wheel).
Any suggestions would be most welcome.
Thanks,
JRB-Bldr
Consequently I am looking to get a method that can be used to produce a list (Cursor, Array, etc.) of the processes running in Windows XP.
I have already used the methods described in
How to determine what application are iconified on the taskbar.
faq184-5470
This is a very useful set of methods and they work OK for me for other operations.
But they are not showing the same process list that I would see if I go into Task Manager and go to the Processes tab page - resulting in my application not 'seeing' the processes which are generating the error messages.
The full list that is shown in the Task Manager process tab list (and their ProcessID's) is what I am after.
I am sure that it is merely a matter of stringing together the correct group of Win API's and using their resultant values in some manner, but I am hoping that someone has already done something like this before me (I'd rather not have to re-invent the wheel).
Any suggestions would be most welcome.
Thanks,
JRB-Bldr