"Save as" makes corrupt PDF files

"Save as" makes corrupt PDF files

Forum member · Oct 28, 2015
Hello! We have a problem with our PDFviewer. Our system creates PDF files with Dynamic PDF generator and shows them in the viewer. Our users then sometimes use the Save as-command for saving their reports. The strange thing is that sometimes, but not always, the file gets corrupted. When you try to open it with for example Adobe Acrobat it says something like "the file is corrupted, maybe because it was sent as an email...." (we gets the error message in Swedish so maybe a strange translation...) It's very random when it happens, the only command used is aPDFViewer.SaveAs(MySaveFileDialog.FileName) PDFviewer is declared: Friend WithEvents aPDFViewer As ceTe.DynamicPDF.AxViewer.Control.DynamicPDFViewerControl We use VB.Net 2012 Is there any way to get around this? Best regards Hanna

Re: "Save as" makes corrupt PDF files

Support · Oct 28, 2015
Hello Hanna, We have not seen this error while using DynamicPDF Viewer ActiveX control. Please send over the following details to [^a|mailto:support@cete.com|opennewwindow|support@cete.com^] so we can look into it further. 1.Code sample or sample project which uses static data to recreate the error. 2.Exact version and build number of the Viewer control. You can find this information on clicking the about button on the tool bar. 3.Input PDFs that produce the error. Thanks, ceTe Software Support Team.

Re: "Save as" makes corrupt PDF files

Forum member · Oct 30, 2015
Thanks for fast reply, as always. Will send you the details! BR, Hanna