An alternative to Tore's suggestion - quite similar in many respects - is to have several copies of the executable, on the shared folder of your server: MyApp-0001.exe, MyApp-0002.exe, etc.
The loader program will check which is the latest version, and run it (note: by running it directly from the server, the application will take longer to start - but I didn't find this to be a problem).
You can also have a version of the loader program that allows the user to select an older EXE. This is useful in case your latest EXE doesn't work correctly - while you do emergency repairs, the users can use an older version that works.
>Hi Experts,
>
>i want to uapdate my exe file frequantly on to my sever,and having abt 20 users, but when i trying to update some times the system rises error that "Can't upate (exe name) is using by some other user", so how i will i come to know that which user is using my application? Or Just i want to know the right time
>for upadeting my exe in the server.
>
>please...,I need somebodys help to ovecome this issue
>
>Regards
>Abdulla
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)