Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_vb thread: Listing currantly running applications


Message #1 by "Seth Bembeneck" <sbembeneck@c...> on Fri, 29 Jun 2001 02:24:23
Would you be kind enough to send me a copy as well please?

I also have tried to solve this problem.  Where i get stuck is the
"applications that are running" bit.  I have tried two different approaches,
listing all of the processes that are running and enumerating through all of
the desktop's windows.  Both approaches will give me a list of process (or
windows) rather than a list of applications.  I can run both my lists
through a few if-then-else's to reduce the definatley-not-an-application
items, but it still doesnt come close enough to a application list.  What I
really want is exactly like the NT taskmanger window - a list box with the
applications name, icon and window handle that updates when a new
application is launched or when a currently running application is
terminated.  Any help here would be great - i have been working on and off
on this for about two months now!

Cheers,

Padgett

-----Original Message-----
From: Seth Bembeneck [mailto:sbembeneck@c...]
Sent: Friday, 29 June 2001 10:02 PM
To: professional vb
Subject: [pro_vb] RE: Listing currantly running applications


Please send it. I'm not that familer with the API.
Thanks
Seth Bembeneck
> Seth,
>
> I used the EnumProcesses API and it works great.
> I can email you a wrapping class if you want.
>
> m.
>
>
> > -----Original Message-----
> > From:	Seth Bembeneck [SMTP:sbembeneck@c...]
> > Sent:	Thursday, June 28, 2001 7:24 PM
> > To:	professional vb
> > Subject:	[pro_vb] Listing currantly running applications
> >
> > How can I list all the applications that are running? And How do I
close
> > them down?
> > I want to write a program that will list them all, and alows me to
close
> > which ever one I want. I know it is possible, I have come across it in
a
> > programing book... So, can any one help?
> > Seth
>





  Return to Index