FILE System Object Error

Hi,

I am trying to delete the folder from my drive which is containing the PDF file and the PDF file is opened .

Now i want to show the message That A file is opened . But i should not get error message .

Can any one help me regarding this …

Thanks in advance…

Try this method

http://gaspodethewonderdog.blogspot.nl/2008/04/try-catch-in-dynamics-nav.html

Thanks Mohana …

This is really helpful to me…