Running Program

  • Thread starter Thread starter David de Passos
  • Start date Start date
D

David de Passos

How can do to see if a program is running?

--


Cumprimentos,
David de Passos
--------------------------------------------------------------
RCSOFT, Lda.
E-Mail: (e-mail address removed)
Móvel: +351 966931639
Telefone: +351 239708708
Fax: +351 239708701
Tel. Directo: +351 239708705 ext. 401
 
Don´t resolve my problem and I not need API.
I want to see if "teste.exe" is running or not. Only this
 
Not sure about your problem, anyway even if you want to check whether a
program is running or not, check the above link for the GetProcesses()
function which will return an ArrayList of running programs, you can
find from the ArrayList whether your test.exe is there or not.
Hope this helps,
Regards,
Arun.
www.innasite.com
 
Yes, but GetProcess is not a Native Function of Compact Framework.
How can do that with compact framework Native Functions?
 
In reality there are no "native" CF functions. In this case you must
P/Invoke the Win32 API functions. In other cases Microsoft has done it for
you in the CF, but in all cases every API is being P/Invoked.

-Chris
 
Ok, that works if is a Compact Framework Program.
But i need to see if a external program is running. Like "Word", like a
game, etc
 
Back
Top