Click here to Skip to main content
Licence 
First Posted 26 Mar 2000
Views 126,699
Bookmarked 33 times

MyTop - a Top/WinTop like application

By | 26 Mar 2000 | Article
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

    About the Author

    Darren Schroeder

    Web Developer

    United States United States

    Member

    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.

    Sign Up to vote   Poor Excellent
    Add a reason or comment to your vote: x
    Votes of 3 or less require a comment

    Comments and Discussions

     
    You must Sign In to use this message board. (secure sign-in)
     
    Search this forum  
     FAQ
        Noise  Layout  Per page   
      Refresh
    QuestionHow prevent service from termination from Task Manager ? PinmemberR@gi4:08 22 Jun '06  
    GeneralCouple problems. PinmemberWREY12:47 18 Dec '03  
    GeneralSome proccess can't be killed! PinmemberICE_WIZARD5:47 16 Aug '03  
    GeneralRe: Some proccess can't be killed! PinmemberDarren Schroeder5:11 30 Aug '03  
    QuestionHow can I invoke ShellExecuteEx in service Pinmemberxp++xp4:58 24 Feb '03  
    AnswerRe: How can I invoke ShellExecuteEx in service PinmemberDarren Schroeder12:02 24 Feb '03  
    AnswerRe: How can I invoke ShellExecuteEx in service PinmemberAndrew Allen17:23 4 Jun '03  
    AnswerRe: How can I invoke ShellExecuteEx in service PinmemberPaul Farry3:24 16 Jul '03  
    GeneralRe: How can I invoke ShellExecuteEx in service PinmemberSilent Mobius10:14 3 Jun '04  
    QuestionIs there any solution to detect killed processes? PinmemberJinhyuck Jung19:18 12 Aug '02  
    AnswerRe: Is there any solution to detect killed processes? PinmemberDarren Schroeder1:44 13 Aug '02  
    GeneralRe: Is there any solution to detect killed processes? PinmemberBlake Miller8:40 12 Feb '03  
    QuestionWhat is 'DDE Server Window'? PinmemberAnonymous21:49 25 Mar '02  
    GeneralMemset PinmemberKwakkie21:25 14 Jan '02  
    QuestionBring tasks to front? PinmemberRyan Aligen21:37 15 Dec '01  
    GeneralCPU utilization PinmemberAnonymous14:54 6 Jun '01  
    GeneralRe: CPU utilization PinmemberAnonymous10:47 1 Jul '02  
    QuestionHow do I obtain the text from other's application edit control? PinmemberCorneanu Romulus0:59 14 May '01  
    AnswerRe: How do I obtain the text from other's application edit control? Pinmemberdeadface1:28 6 Feb '02  
    AnswerRe: How do I obtain the text from other's application edit control? PinmemberPrashant_ultim21:11 17 Jul '03  
    GeneralHWND PinsussDaniele Piazza23:00 30 Jun '00  
    GeneralRe: HWND PinsussDarren Schroeder4:39 1 Jul '00  
    GeneralRe: HWND PinsussDaniele Piazza21:35 6 Jul '00  
    QuestionHow to Modify other process's memory ? PinsussHomles23:31 21 May '00  
    AnswerRe: How to Modify other process's memory ? Pinsusssburnap9:38 27 Jun '00  

    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.

    Permalink | Advertise | Privacy | Mobile
    Web04 | 2.5.120517.1 | Last Updated 27 Mar 2000
    Article Copyright 2000 by Darren Schroeder
    Everything else Copyright © CodeProject, 1999-2012
    Terms of Use
    Layout: fixed | fluid