I've some troubles with a program (straus7) that don't check if a file is already open. This is a problem because often the files are stored in the server and they can be opened by multiple users.
I was wondering if it is possible to catch when a specific extension of a file (in my case .st7) is opening, then check if it is stored in the server and finally check if a temporary file with the same name with the temp extension already exists. If already exists, I just want to show a message box "The file is already open".
I'm not at all a developer, I've written some codes in C#, maybe is that not the right way to solve the problem? I've maybe to do an application that handle the opening of the files and then do this procedure easyer?
Thanks for any help