Bradford(the curry capital of the UK), West Yorkshire, England
Posts
22
Getting a list of all Running Applications
Is there a straight forward method of getting a list of all the running applications, either an API call or VB code.
Not writing down on a piece of paper what appears in the taskbar
I don't need reams of sample code just to be pointed in the right direction
Bradford(the curry capital of the UK), West Yorkshire, England
Posts
22
Chrisjk
Have tried your code but to no avail, mabye I should have mentioned that I'm using NT4(like vking) as the API functions that you use do not appear in my API viewer
Can you please post the code that returns a list of processes that are running on an NT4 machine. I have the code that does it on every other Microsoft platform - but not NT4.0.
I'm afraid the suggestion that chrisjk made about replacing processnext with processnext32 has no effect - the problem appears to lie within CreateToolhelpSnapshot or CreateToolhelpSnapshot32.
I would appreciate a working solution on NT4 - I have a solution on W95 / W98 / NT2000 - but NT4 is different !!!!