470,614 Members | 1,458 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,614 developers. It's quick & easy.

Catch the state of a process and if that process is receiving any type of input

Hi,

I whant to know if a user is using a process. To achieve that I have
to know the state of the process, so I wrote the following code:

Dim localAll As Process() =
Process.GetProcessesByName(TextBox1.Text)
ListBox1.Items.Add(localAll(0).Threads(0).ThreadSt ate.ToString())

This code works if the process is working, for example, monitoring
WinWord using the 'Spelling And Grammar' I can see that process is
working but if i'm just writing the state of the process is always
'wait' because the process of writing is too quick to change the state
of the process.

So I thought that I could monitor the input recieved by a process too.
But I don't know how?

Thank's in advance for your time.
Nov 21 '05 #1
0 836

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

17 posts views Thread by deko | last post: by
37 posts views Thread by clintonG | last post: by
3 posts views Thread by Nhi Lam | last post: by
6 posts views Thread by Daniel Walzenbach | last post: by
3 posts views Thread by Howard | last post: by
6 posts views Thread by pcrepieux | last post: by
4 posts views Thread by andyehi | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.