I'm not exactly sure what you mean.
Are you saying that you are trying to open a file programatically and getting a Share Violation?
When a file is opened, it can be set to share with these conditions: - Share None - Exclusive Access. No one else will get to open the file. - Share Read - Allow it to be opened if it is being opened for read-access only. - Share Write - Allow it to only be opened for write. - Share All - Allow anyone to open it.
If you are getting an error trying to open the file I would assume it is because someone has it open to share with None. Or they have it set to share with Read, and you are trying to open it for Write.
|