Community
Showing results for 
Search instead for 
Do you mean 
Reply

Unable to delete PDF files from Documents tab

New Member
Posts: 24
Country: Canada

Unable to delete PDF files from Documents tab

[ Edited ]

I am having an issue issue on the documents tab.  I store a lot of files (not shortcuts) and it won't let me erase pdf files.

When I try to remove the file it gives me an error message that says "Unable to delete a history".

 

I am using Vista and ACT v10

 

It does let me erase word files, I haven't tried others yet.

 

Hope you can help

 

<Edited title after moving reply to own thread.>

Message Edited by dlunceford on 04-09-2009 08:45 AM
New Member
Posts: 2
Country: Switzerland

Re: Unable to delete PDF files from Documents tab

Have you used the right code to delete PDF?Here is the demo code.you can have a look:

public static string FolderName = "c:/";

private void button1_Click(object sender, EventArgs e)
{
string fileName = FolderName + "Sample.pdf";
string fileNameDeleted = FolderName + "delete.pdf";

REDocument doc = REFile.OpenDocumentFile(fileName, new PDFDecoder());//use PDFDecoder open a pdf file

doc.DeletePage(1);//delete page in REDocument

REFile.SaveDocumentFile(doc, fileNameDeleted, new PDFEncoder());//save new pdf

}
New Member
Posts: 29
Country: USA

Re: Unable to delete PDF files from Documents tab

I have only tried to delete PDF files with the help of some PDF tools. You can also google it and select one whose way of processing is simple and fast to help you with the related work. Remember to check its free trial package first if possible. I hope you success. Good luck.



Best regards,
Arron