Running Applications

G

Guest

Is there a way using .Net to determine which applications are currently
running? For example, in Windows, if you press Alt-Tab, you will see a list
of applications currently running. I have looked at process.getprocesses,
but that returns all running processes instead of just applications. I would
like to fill a listbox with a list of applications (not processes) that are
currently running. Thanks.
 
M

Mattias Sjögren

Is there a way using .Net to determine which applications are currently
running? For example, in Windows, if you press Alt-Tab, you will see a list
of applications currently running. I have looked at process.getprocesses,
but that returns all running processes instead of just applications. I would
like to fill a listbox with a list of applications (not processes) that are
currently running. Thanks.

I'm not sure what yoru definition of "application" is, but I believe
the Alt-Tab window is populated with top-level windows returned by the
EnumWindows Win32 API.


Mattias
 
G

Guest

Thank you for pointing me in the right direction. I have been searching the
Internet for sample code that uses VB .Net 2005 and the EnumWindows Win32
API. If anyone has any code that shows this, I would appreciate it. Thanks.
 

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