Angus Leeming wrote:
Nicolás wrote:

Hei once more!
2) When a pdf already exists in the temp directory, which is already loaded in Acrobat, and View->PDF(dvipdfm) is called, the user gets this error:
"Cannot convert file. Error while executing dvipdfm ...".
... I don't think that there's anythng we can do about this. You could try submitting a bug report to Adobe asking them not to be so rude as to keep the HANDLE on the file open...


I do not expect Adobe to do that (do you?) :-)
What I was, indeed, trying to propose is to present a more helpful error message to the end-user. Something that could indicate him/her what to do to solve the problem. I guess it would not be difficult to check first if the file already exists and set a flag to true. Then try to overwrite and if an error arises, and the flag was set to true, report to the end-user that the file may already be opened with Acrobat, and that he/she may try to close it and call again View->PDF

Nicolás

Reply via email to