File used by other Process

File used by other Process

Forum member · Jan 10, 2008
Hi, I am using the Dynamic PDF Creator to create PDF on-demand. The user will change some variable and create the same PDF again and again. when the user create first time its working fime but if the user try to create again (immediately) i got an error saying the file is used by other process and cannot create the PDF. I am using following objects i tried to dispose everythink in the finaly clause but couldn't worked for me. ceTe.DynamicPDF.Document ceTe.DynamicPDF.Page ceTe.DynamicPDF.PageElements.Image ceTe.DynamicPDF.PageElements.Line Thanks Bob

Re: File used by other Process

Support · Jan 10, 2008
I would like to see the code you are using to create the PDF. There maybe an issue with how you are referencing your Image. Or is your image being used by any other process or application as this would also cause this? You can either post your code here, or if you prefer you can send your code directly to [^a|mailto:support@cete.com|support@cete.com^]. Thanks, ceTe Software Support Team

Re: File used by other Process

Forum member · Jan 11, 2008
Thanks, I think I missed one part that is after creation of PDF, there is an email component sending the PDF as attachment. so when I split the code to paste here I found that, an the PDF creation alone working fine without any error. Thanks for the help Bob