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.

asked 27 Aug '13, 00:30

bharati's gravatar image

bharati
0111
accept rate: 0%

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.

(27 Aug '13, 01:59) Volker Barth
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×34

question asked: 27 Aug '13, 00:30

question was seen: 834 times

last updated: 27 Aug '13, 01:59