On Tue, 29 Nov 2005 16:29:04 -0800, Dennis
<De****@discussions.microsoft.com> wrote:
This has been a problem with Visual Basic since version 2.0. You'd think
Microsoft would be wise enough to add a method to the file class to check if
a file is opened and if so, ever return the username or something like that.
Sounds like a good idea but perhaps try to open it for write access?
Shouldn't it fail if it's open by another process? Not the most
efficient way perhaps but it should work. Of course it won't tell you
what process has it open.