>The file can not access,it being used by another process
I've not looked at your code, but that generally means you're trying to do stuff with the file whilst it is already open?
iamthwee
Posting Expert
5,950 posts since Aug 2005
Reputation Points: 1,543
Solved Threads: 439