How to Detect a Program is Openen and Running

R

RC

Hi,

How to detect a program such as Pocket Internet Explorer is Opened and
Running by using Compact .NET Framwork or OpenNETCF?

Thanks
RC
 
P

Peter Foot [MVP]

You could either use the Toolhelp APIs via P/Invoke (or see
OpenNETCF.Toolhelp namespace - www.opennetcf.org/sdf/) or use FindWindow
with the text of the application window (e.g. "Internet Explorer"), if it
returns a valid window handle the app is running, but be aware of how this
will behave on non-english devices).

Peter
 

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

Top