I am trying to find if a process is running in another RDP session, including the current session?
I want to scan the RDP sessions to see if my process say processA.exe is running in any of them, so that if some body else tries to start it , it should pop up a message saying that the process is already running and possibly the name of the user who is running it.
This must be done in VB6.0.
I found this link on the net which talks about Microsoft Windows API WTSEnumerateProcesses function allows you to obtain information about the active processes running on a Terminal Server machine.
Do you think this is something that would help me?
There was another function in C Language....about something similar too. here is the link for that one.