Tag Archives: PDF

One page PDF don’t open in IE8

Very weired !!! I can open 2 or more PDF pages in IE8, but one page or less IE8 can’t and gives me this error message: The file is damaged and could not be repaired. By the way, Chrome can. … Continue reading

Posted in ASP.NET, Error Message, Programming, VB.NET | Tagged , , , , | Leave a comment

Read PDF from a Database and Open it into a Frame

IHttpHandler is aowsome. You read your file in the buffer and just send it to src as if it is a named file, so no need to read and save a temporary file in client’s PC. iframePDF1.Attributes.Add(“src”, “ShowPDF.ashx?pID=” & Request.QueryString(“pID”)) … Continue reading

Posted in Databases, Programming, SQL-Server, VB.NET | Tagged , , , , , | Leave a comment

How to Save and Display a PDf/Word file ?

For displaying, it will save the pdf/word to temp folder then open it and after closing will delete the temp file.

Posted in Databases, Programming, SQL-Server, VB.NET | Tagged , , , , | Leave a comment