Re: Process cannot access the file because it is being used by another process

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



That explanation is way too simple.

I have given such explanation to just explain the error.

In the actual situation a PDF is generated with some parameters on the
server and is sent back to the exe.
This exe displays it on a screen using webbrowser.
The button which is causing the error is used to regenerate the letter
with some user defined data.
When this button is clicked the PDF is regenerated and sent back to
exe. This PDF then overwrites the existing file but cannot succeed as
the file is already open.

I could get rid of the error using webbrowser.stop statement but now
this issue again came up with some XP systems.

And one more thing which I did not mention is ...this issue is
happening only with Adobe 7.0 (not with earlier versions).

.



Relevant Pages