How to open Text files and PDFs ?
-
i m using an ASP.NET Web Appication n want to open Text files, PDFs and images on the VB.NET interface... so wat are the components which i need to open these files... so far.. the images are being opened in Internet Explorer only.. which i dont want.. i want a specific component for both images and text/PDFs need help how to do this ...
-
i m using an ASP.NET Web Appication n want to open Text files, PDFs and images on the VB.NET interface... so wat are the components which i need to open these files... so far.. the images are being opened in Internet Explorer only.. which i dont want.. i want a specific component for both images and text/PDFs need help how to do this ...
Hi there, For known MIME types such as image, text, word, pdf ..., the client browser normally chooses the way to open it or launchs a registered application (you can find this in the Registry settings) to open it. However, you here want to use a specific component which is able to view image, text, pdf ... file types, and I have no idea about that component, so you can try to find it on the net and Google is your friend. IMHO, you may also think of developing an ActiveX component viewer which is able to do what you want, then you can host it in your web page aspx. This component looks similar to the media player which takes the filename parameter as the input file. The reason I choose ActiveX control, but not a .Net component as it does not require the .NET framework installed on the client machine. If you neither find a third party component which you want on the net nor can develop your own, you may reconsider your approach here. Just some ideas.