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]
rocessName,"prowin") 0 THEN MESSAGE processList[cntr]
rocessName 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...
Continue reading...