Results 1 to 7 of 7

Thread: [RESOLVED] Get window titels?

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Feb 2007
    Location
    Netherlands
    Posts
    203

    Resolved [RESOLVED] Get window titels?

    Hello,

    I was making a little application, but i was wondering, if it's posible to get the window title from Firefox and VLC Player. How to do this?


    ThijsD

  2. #2
    PowerPoster motil's Avatar
    Join Date
    Apr 2009
    Location
    Tel Aviv, Israel
    Posts
    2,143

    Re: Get window titels?

    you can get all active process names

    Code:
     Dim Proc As System.Diagnostics.Process
            Dim ProcessList = System.Diagnostics.Process.GetProcesses()
    
            For Each Proc In ProcessList
    
                ListBox1.Items.Add(Proc.MainWindowTitle.ToString)
    
             
            Next
    * Rate It If you Like it

    __________________________________________________________________________________________

    "Programming is like sex: one mistake and you’re providing support for a lifetime."

    Get last SQL insert ID

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Feb 2007
    Location
    Netherlands
    Posts
    203

    Re: Get window titels?

    Tnx it works


    Edit

    Is it also posible to check is a window title has changed?
    Last edited by thijsd; Jul 28th, 2009 at 04:31 PM.

  4. #4
    PowerPoster motil's Avatar
    Join Date
    Apr 2009
    Location
    Tel Aviv, Israel
    Posts
    2,143

    Re: Get window titels?



    Please mark this thread as resolved
    * Rate It If you Like it

    __________________________________________________________________________________________

    "Programming is like sex: one mistake and you’re providing support for a lifetime."

    Get last SQL insert ID

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Feb 2007
    Location
    Netherlands
    Posts
    203

    Re: Get window titels?

    Yeah sorry forgot to ask something :P

    Is it posible to check if a title changes? (so pretty live :P)
    Like: Title.Onchange?

  6. #6
    PowerPoster motil's Avatar
    Join Date
    Apr 2009
    Location
    Tel Aviv, Israel
    Posts
    2,143

    Re: Get window titels?

    as far as i know you can't, but you can keep update the listbox or whatever you store the information in with threading.
    * Rate It If you Like it

    __________________________________________________________________________________________

    "Programming is like sex: one mistake and you’re providing support for a lifetime."

    Get last SQL insert ID

  7. #7

    Thread Starter
    Addicted Member
    Join Date
    Feb 2007
    Location
    Netherlands
    Posts
    203

    Resolved Re: Get window titels?

    Ok thanks then ill just use a time and an Search or something :P

    I'll figure it out tnx anyways

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