469,326 Members | 1,318 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

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

Terminating processes

I'm using a small vb.net app to open up applications within a Citrix/terminal
services session. Under some conditions, I'd like the app to close those
applications. However, code I've found online will kill all instances of an
executeable on a server, effectively killing the apps for other users'
sessions. Obviously that's bad.

I'd like to find out how I can kill an instance of an executeable that was
started by the user.
Aug 25 '06 #1
1 1170
Ive created something similar, but the processes as I understood them
(and im new to vb) but the processes are local to the person logged in.

So I have a little Listener prog that runs on each client machine and when I
want to kill
certain processes they are running, i set up a txt file on the / in the same
directory as the
listener program is running from.

The Listener program that runs on each machine has a file system watch on it
and checks every
so many minutes for that file. If it finds the file, it kills the Processes
( locally ) on the users machine.
-They can only see their own processes.

Id be curious to know if someone knows how to kill processes on other
machines from the server.
It would have made my life easier back then :)

M.
"Dave" <Da**@discussions.microsoft.comwrote in message
news:D5**********************************@microsof t.com...
I'm using a small vb.net app to open up applications within a
Citrix/terminal
services session. Under some conditions, I'd like the app to close those
applications. However, code I've found online will kill all instances of
an
executeable on a server, effectively killing the apps for other users'
sessions. Obviously that's bad.

I'd like to find out how I can kill an instance of an executeable that was
started by the user.

Aug 25 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Earl Eiland | last post: by
6 posts views Thread by news.microsoft.com | last post: by
9 posts views Thread by SP | last post: by
23 posts views Thread by Adam Clauss | last post: by
1 post views Thread by Dino Buljubasic | last post: by
4 posts views Thread by geoffbache | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by harlem98 | last post: by
reply views Thread by listenups61195 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.