Finding and counting a process

Equis

Member
Joined
Sep 1, 2006
Messages
9
Programming Experience
Beginner
Finding and counting a process (Resolved)

Hello

(example only)
I have a client that is licensed to run 3 copies of MS work on their terminal server.

I would like to write an app that would look for the process word.exe and count how many times its open, then I could display a warning etc

Its that possible?

Thanks


I kind person told me this on another forum

VB.NET:
 MsgBox(Process.GetProcessesByName("word).Length)
 
Last edited:
Back
Top