Solved

How to close a currently active windows ?

Posted on 2003-11-06
5
149 Views
Last Modified: 2013-11-20
  Suppose that there are 4 tasks
currently running on the system,
(For eg.  Calculator, Notepad, Word
and Power Point). How can we close
one of these windows using a VC++
program ??

   What exactly I want is, I would
like to display all the applications
currently running on the machine in
a Listbox. When I select any of them
and press a button labled 'Close'
then, that application should be
terminated.

   Plz help me regarding this!!
0
Comment
Question by:balakiran_bs
  • 2
5 Comments
 
LVL 86

Accepted Solution

by:
jkr earned 50 total points
ID: 9695196
0
 

Expert Comment

by:DAE
ID: 9697104
Terminate an application is different for Windows 95/98/Me to Windows NT/2000/XP.

Be Careful!
0
 
LVL 86

Expert Comment

by:jkr
ID: 10159063
Hmm, the same as with the other Q - the links cover the issue...
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Unix / Linux grid computing 5 146
Replacement selected text 2 58
Define unique primary key 9 89
Doc'in system (example?) BA 7 87
Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now