Hi All,
Thank you for viewing my thread.
I have an enquiry on process. My application runs this way.
First, it will export something to PDF format.
Second, the application will attach the PDF to send an email to someone.
Next, i want to delete the PDF file.
When i execute the application, it indicate that the process is being use and the application fails. I believe the application fails because the PDF file is still used to send email. My question is how do i check if any process is using the PDF. If no process is using the PDF, then i will delete the PDF file.
Let me know if you have doubts on my question.
Thank You!