Running Program

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
 
D

David de Passos

Don´t resolve my problem and I not need API.
I want to see if "teste.exe" is running or not. Only this
 
A

Arun

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
 
D

David de Passos

Yes, but GetProcess is not a Native Function of Compact Framework.
How can do that with compact framework Native Functions?
 
G

Guest

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
 
D

David de Passos

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

IP 1
Query Timeout 3
TextBox 2
DataGrid 2 1
DataGrid Collumn/Cell Color 1
Regional Settings 4
DataGrid 2
Tabcontrol 3

Top