My application is a windows application written in VB.NET.
I have thousands of PDF and Word documents stored in SQL Server data base in binary format. I should give ability to view PDF / Word documents in my application from SQL Server data base.
I implemented view functionality in my application by creating temporary file (from binary file stored in SQL server database) in hard disk and loading that temporary file in to Web browser control of windows form. It is working well.
Now I want to show PDF / MS Word document (binary format) in my application from SQL Server with out creating temporary file.
I required sample working code to perform this functionality.