Recently I was working on some code where it was required to open a file, write something to it and close it. I ran into a small problem while considering the code. Since this was a Doc file the problem was that how do I check if the file was already open or not? If the file is already open for editing by some other user, how do I write to it? Like all good programmers I looked around for a code sample on the Internet, although I found some great examples on the net, I didn't find a good C...
[More]