Forum Post: List of running Progress applications

  • Thread starter Thread starter oedev
  • Start date Start date
Status
Not open for further replies.
O

oedev

Guest
Hi, Our users can run multiple instances of our application, when they exit the last instance, I want to be able to recognise this and execute some logic. Using the following code, I can recognise all prowin32.exe currently running on the local machine. However, in all instances, the MainWindowTitle property returns "Progress"; DEFINE VARIABLE processList AS System.Diagnostics.Process extent. processList = System.Diagnostics.Process:GetProcesses(). DO cntr = 1 to extent(processList): IF index(processList[cntr]:ProcessName,"prowin") 0 THEN MESSAGE processList[cntr]:ProcessName processList[cntr]:MainWindowTitle processList[cntr]:Id VIEW-AS ALERT-BOX. END. Is there anything I can do within the application to set a window title so it's picked up by the above API, or, is this just another limitation with Progress? Thanks.

Continue reading...
 
Status
Not open for further replies.
Back
Top