Getting Other Applications' Class names

KillerTomato

Member
Joined
Mar 20, 2007
Messages
6
Programming Experience
1-3
Hey yall, I have a quick question. I do alot of security programming for local schools and business. One thign I am working on now is a blocker progam, hat blocks main programs that every Windows Machine has. Like CP, IE, FF, Opera, Avant, etc. One thing I want to do is allow the user to set their own block settings since some people might have a program they want to block, but someone else might not have that same program. So I don't want to hardcode anything commercial, into my code. So what I am trying to is display all the open programs, not processes, in a listview box. I have this done. Now I need it to be able to when the user selects an application from the listview box, The selections: classname, and window text, are displayed in to two seperate textboxes. I have tried a couple of my ways I thought might work, but I get an InvalidCastException. So, all I need is to know how for when the user selects an application.It will get the selections classname and window text. Thank again, any help is appreciated.
 
Back
Top