How can I scan through the "Windows Task Manager" Applications tab using Powerbuilder? I want to be able to read through all the programs currently running under the Applications tab and get the name of each program and it's process ID. |
How can I scan through the "Windows Task Manager" Applications tab using Powerbuilder? I want to be able to read through all the programs currently running under the Applications tab and get the name of each program and it's process ID. |
Once you sign in you will be able to subscribe for any updates here
By RSS:Markdown Basics
Question tags:
question asked: 27 Aug '13, 00:30
question was seen: 2,008 times
last updated: 27 Aug '13, 01:59
Note: That's not really a question dealing with the SQL Anywhere database and should better be asked in a Powerbuilder forum...
I don't know whether PB can list all running processes with builtin tools. If that's not the case, I'd guess you would need to use the Process Status API (PSAPI) under Windows, which is a part of the Windows API. See the following sample:
Enumerating All Processes
Apparently, it would require to call C-based functions from Powerbuilder, possibly no easy task. And it would require both a 64-bit and a 32-bit environment to list the according processes.