Hello everyone, i am using VB
.NET, actually that doesn't really matter, or it may, but anyways i have a question about writing files.
I am implementing a system where if you write an article, it updates the RSS representation of that topic, and well, if two processes are trying to write the same file "foo.xml" it bombs and makes me very angry! Is there a way to check to see if the file is already open or in use?
in essence i want,
if isFileOpen("foo.xml") OR isFileLockedBySomeProccess("foo.xml") then
' Don't do anything