Close opened file(pdf) through code

Posted by Ganeshd under C# on 6/20/2012 | Points: 10 | Views : 5378 | Status : [Member] | Replies : 1
i have opened 3 files namely a.pdf, b.pdf, c.pdf.

i need to close b.pdf file through code




Responses

Posted by: Peermohamedmydeen on: 6/21/2012 [Member] Bronze | Points: 25

Up
0
Down
Hi,

You can simply use the System.IO.File to close the file.

Thanks
PMM

Ganeshd, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response