Results 1 to 3 of 3

Thread: Get activate application name and details

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2010

    Get activate application name and details

    Hello everyone,

    I developed a form, this form is active all the time in windows task bar. I am looking for a solution, on every minute, get the name of application on which active user is working.
    Like on

    09.40 am Outlook.exe inbox -
    09.41 am Explorer.exe
    09.42 am Chrome

    I know I can use a minute timer but but question is who to get other information like app name and details.

    Thank you.


  2. #2
    .NUT jmcilhinney's Avatar
    Join Date
    May 2005
    Sydney, Australia

    Re: Get activate application name and details

    You would have to delve into unmanaged code, i.e. Windows API functions, for that. The first step would be to call the GetActiveWindow API to get the handle of the currently active window. You can then do whatever is required from there to get the information you need. That might be just getting the text of that window or it might be getting some information about the process that owns it. Researching how to call Windows API functions in general and that one in particular would be your first course of action.

  3. #3
    eXtreme Programmer .paul.'s Avatar
    Join Date
    May 2007
    Chelmsford UK

    Re: Get activate application name and details

    For the WebBrowser current tab url...

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