>Hi All,
>I have one EXE which is on my server. i have four client machine.
>
>But i want to run this exe by one client only. when the Exe is running from one client then no other client can run this exe.
>So what code i include in this.
>
>Thanks,
>...ashish
You could set a key in the registry for your program to true when it is run. When another user tries to open the program your app should check the key. If it is true then it should end immediately otherwise it should set the key to true and carry on. (btw Don't forget to set the key to false when the app ends).