471,356 Members | 1,655 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,356 software developers and data experts.

File Management

S.D
How does microsoft word or excel understand that a document being edited by
other user. Can i find document's editor (user who opens document with write
access)
programatically.

Thanks for your assistance
Jul 21 '05 #1
2 1076
Word, excel and other office suite products uses locking files to
indicate that they're being used by somebody else.

I'm not certain though what kind of information is stored in these
locking files.

--
Patrik Löwendahl [C# MVP]
http://www.lowendahl.net/ || http://www.cshrp.net
Please reply only to the newsgroup.

S.D wrote:
How does microsoft word or excel understand that a document being edited by
other user. Can i find document's editor (user who opens document with write
access)
programatically.

Thanks for your assistance

Jul 21 '05 #2
As far as I can see, the ~$filename.doc file in 2003 seems to list the
locking user as the first bit of information in there. I'm not sure
how the file grows as you edit the document, but that would be a good
place to start looking.

On Thu, 17 Feb 2005 13:50:28 +0100, "Patrik Lwendahl [C# MVP]"
<pa******************************@home.se> wrote:
Word, excel and other office suite products uses locking files to
indicate that they're being used by somebody else.

I'm not certain though what kind of information is stored in these
locking files.


Jul 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Codemonkey | last post: by
3 posts views Thread by kimimaro | last post: by
4 posts views Thread by Richard | last post: by
reply views Thread by Xaradas | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.