Is there a way around not being able to index a file that a user has open?
Ask the user to close the file.
If a file is being held open exclusively by an application/user, then it can not be accessed by another application. This is a restriction of the operating system. You should make sure that files are not held open before indexing.
vBulletin® v3.7.0, Copyright ©2000-2008, Jelsoft Enterprises Ltd.