Click to See Complete Forum and Search --> : I WANT TO ACTIVATE A RUNNING APPLICATION USING IT'S PROCCESS ID


RobertSay
August 26th, 2000, 04:41 AM
I have field where the user specifies which application he wants to execute with a browse btn.
this is the setup.
Now from my application when the user requests to run the application he specified in the setup, I ave to go and check if it is running.
If yes then I activate it else I execute the EXE file. Now I made a routine which returns all the running apps in my environment and path of these apps, and the Proccess ID. So the problem is that if I find the application how can I activate it.
Definitly the Application has a window, but how can I get the hWnd.