Hi,
Thanks for your response.
If you want to know whether or not a file is opened in local application,
you can check the file handle, or use a boolean variable to flag the use of
file, or create a lock file as suggested by Bryan.
If you want to check a file beeing used in another process, I recommend you
use WMI as described in my previous reply.
Please feel free to let me know if you have any problems or concerns.
Regards,
HuangTM
Microsoft Online Partner Support
MCSE/MCSD
Get Secure! --
www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.