|
-
Jul 28th, 2009, 04:15 PM
#1
Thread Starter
Addicted Member
[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
-
Jul 28th, 2009, 04:25 PM
#2
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 
-
Jul 28th, 2009, 04:28 PM
#3
Thread Starter
Addicted Member
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.
-
Jul 28th, 2009, 04:30 PM
#4
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 
-
Jul 28th, 2009, 04:32 PM
#5
Thread Starter
Addicted Member
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?
-
Jul 28th, 2009, 04:34 PM
#6
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 
-
Jul 28th, 2009, 04:35 PM
#7
Thread Starter
Addicted Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|