cancel
Showing results for 
Search instead for 
Did you mean: 

Get windows task managers Application tab

Former Member
0 Kudos
2,228

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.

VolkerBarth
Contributor
0 Kudos

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.

Accepted Solutions (0)

Answers (0)