Solved

How do I create a PDF from a BLOB?

Posted on 2014-01-10
2
271 Views
Last Modified: 2014-01-13
I have a PDF File stored in a SQL Server DB as a Blob. What I'm not sure how to do is retrieve that Blob and open it as a PDF file or Word Docx.
0
Comment
Question by:BlakeMcKenna
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 12

Accepted Solution

by:
ktaczala earned 500 total points
ID: 39772910
If the original file was a PDF, then the variable that holds filestream that reads the blob just need to be saved with the pdf extension no conversion is necessary.  Saving data in a blob saves it byte by byte, it doesn't care what the file type is.  However you'll need to know the file type to recreate it as a file again.
0
 

Author Comment

by:BlakeMcKenna
ID: 39776689
Thank you sir...that helped!
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question