Click here to Skip to main content
Click here to Skip to main content
Go to top

MyTop - a Top/WinTop like application

, 26 Mar 2000
Rate this:
Please Sign up or sign in to vote.
An article on listing and killing processes
  • Download demo project - 124 Kb

    Sample Image - MyTop.jpg

    Have you ever tried to kill a process with Windows NT's Task Manager and couldn't? Well now you can with MyTop... at least most of them. As much as I'd likt to take the credit for this application i cannot. The guts of it come straight from MSDN's Code Center http://msdn.microsoft.com/code. A nice little applicatoin called TList. I took TList, which is a command line program and put an interface on it. It's pretty intuitive. All you do is start it and right click on the task you want to kill and then left click on Kill Process. That's it. MyTop will tell you if the process was killed successfully or not.

    DISCLAIMER: One should be careful about killing certain process id's. It could cause MAJOR problems.

    This is a dialog based application that uses a ListCtrl. I'm running Windows 2000 Pro so I know it works here. The code is supposed to work in Win9x but i have not tried or tested this. All comments and/or suggestions are welcome Darren Schroeder. BTW, I know the code is nasty but that was one key to this article. It's a "How-To" hack code together so it works. I've tried to leave all Microsofts code in tact and only comment it out. There may be a few lines where i just deleted it.

    That's it!

  • License

    This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

    A list of licenses authors might use can be found here

    Share

    About the Author

    Darren Schroeder
    Web Developer
    United States United States
    For the last 10 years I have worked for Xerox Corp. I am currently located in Hot Springs, AR, where I serve as Technology Manager for Xerox Imaging Services.

    Comments and Discussions

     
    QuestionHow prevent service from termination from Task Manager ? PinmemberR@gi22-Jun-06 4:08 
    GeneralCouple problems. PinmemberWREY18-Dec-03 12:47 
    GeneralSome proccess can't be killed! PinmemberICE_WIZARD16-Aug-03 5:47 
    GeneralRe: Some proccess can't be killed! PinmemberDarren Schroeder30-Aug-03 5:11 
    QuestionHow can I invoke ShellExecuteEx in service Pinmemberxp++xp24-Feb-03 4:58 
    AnswerRe: How can I invoke ShellExecuteEx in service PinmemberDarren Schroeder24-Feb-03 12:02 
    AnswerRe: How can I invoke ShellExecuteEx in service PinmemberAndrew Allen4-Jun-03 17:23 
    AnswerRe: How can I invoke ShellExecuteEx in service PinmemberPaul Farry16-Jul-03 3:24 
    GeneralRe: How can I invoke ShellExecuteEx in service PinmemberSilent Mobius3-Jun-04 10:14 
    QuestionIs there any solution to detect killed processes? PinmemberJinhyuck Jung12-Aug-02 19:18 
    AnswerRe: Is there any solution to detect killed processes? PinmemberDarren Schroeder13-Aug-02 1:44 
    GeneralRe: Is there any solution to detect killed processes? PinmemberBlake Miller12-Feb-03 8:40 
    QuestionWhat is 'DDE Server Window'? PinmemberAnonymous25-Mar-02 21:49 
    GeneralMemset PinmemberKwakkie14-Jan-02 21:25 
    QuestionBring tasks to front? PinmemberRyan Aligen15-Dec-01 21:37 
    GeneralCPU utilization PinmemberAnonymous6-Jun-01 14:54 
    GeneralRe: CPU utilization PinmemberAnonymous1-Jul-02 10:47 
    QuestionHow do I obtain the text from other's application edit control? PinmemberCorneanu Romulus14-May-01 0:59 
    AnswerRe: How do I obtain the text from other's application edit control? Pinmemberdeadface6-Feb-02 1:28 
    AnswerRe: How do I obtain the text from other's application edit control? PinmemberPrashant_ultim17-Jul-03 21:11 
    GeneralHWND PinsussDaniele Piazza30-Jun-00 23:00 
    GeneralRe: HWND PinsussDarren Schroeder1-Jul-00 4:39 
    GeneralRe: HWND PinsussDaniele Piazza6-Jul-00 21:35 
    QuestionHow to Modify other process's memory ? PinsussHomles21-May-00 23:31 
    AnswerRe: How to Modify other process's memory ? Pinsusssburnap27-Jun-00 9:38 

    General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

    Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

    | Advertise | Privacy | Mobile
    Web02 | 2.8.140922.1 | Last Updated 27 Mar 2000
    Article Copyright 2000 by Darren Schroeder
    Everything else Copyright © CodeProject, 1999-2014
    Terms of Service
    Layout: fixed | fluid