I have an application that will get a list of image filenames and put them in a list.
It will loop over the list and open the file and display it in a picturebox.
There will be up to 50 instances of this applicaiton open on 50 PC's
If the same 2 PC's try to open the image and display it I need one to fail and move onto the next one.
Can I open the file with exclusivity?
If I can't I was thinking of setting the file attribute as archived so that if 2 do try to open the same image hopefully one should see that its archived and move on.