*Experts* DiverDan Posted December 1, 2005 *Experts* Posted December 1, 2005 Hi, I have a program that saves worksheet type files. How can I detect if a worksheet file is already in use by another user on a network? In other words, if worksheet file A is being used by User A, if User B tries to open worksheet file A I can display a message box that the file is already in use by another User. Thanks, Dan Quote Member, in good standing, of the elite fraternity of mentally challenged programmers. Dolphins Software
mark007 Posted December 4, 2005 Posted December 4, 2005 Not sure if you are talking about Excel or not ut this Leagcy VB code might give you some ideas: http://www.thecodenet.com/articles.php?id=9 Quote Please check the Knowledge Base before you post. "Computers are useless. They can only give you answers." - Pablo Picasso The Code Net
*Experts* DiverDan Posted December 5, 2005 Author *Experts* Posted December 5, 2005 Thanks for the reply Mark007!!! Although my app is not Excel, your post did give me a lot of ideas that solved the problem. Thanks for your help! Dan Quote Member, in good standing, of the elite fraternity of mentally challenged programmers. Dolphins Software
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.