Results 1 to 3 of 3

Thread: Making App tht traces windows programs..

  1. #1

    Thread Starter
    Lively Member amolt's Avatar
    Join Date
    Aug 2006
    Location
    INDIA
    Posts
    80

    Making App tht traces windows programs..

    Hi all,
    i m developing an application in which i need to traces whatever programs opened in windows. My application is running in taskbar and track which program is loaded in memory..
    Plz can someone tell me how i can do it...its urgent plz.

    Thanks & Regds,
    amolt

  2. #2
    Frenzied Member
    Join Date
    Jul 2005
    Posts
    1,168

    Re: Making App tht traces windows programs..

    Maybe you could save all the name of the processes(to a list) that are running right after windows is started, then whenever the number of processes increase, you check all the running processes against that list. You could have it check every 3-5 seconds or whichever you prefer. If you use .NET, this should be easier because of the Process class that is available. I'm assuming this is what your goal is...or I could be wrong.

  3. #3
    Hyperactive Member kazar's Avatar
    Join Date
    Apr 2006
    Location
    UK
    Posts
    323

    Re: Making App tht traces windows programs..

    A small amount of work allowed me to come up with this. It's a modified version of one i use. It should do all you want. Only problem is that right now it can only register one new process at a time. So if more than one process is started within five hundred miliseconds of each other, it will only pick up the first one. Change the timer interval to increase it's likelihood of picking it up. NB, it also does processes closing as well.

    Hope it's what you're looking for.
    Attached Files Attached Files
    KAZAR

    The Law Of Programming:

    As the Number of Lines of code increases, the number of bugs generated by fixing a bug increases exponentially.
    __________________________________
    www.startingqbasic.co.uk

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width