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 ...
The System.IO namespace contains all you need to read/write text files. The Bitmap class in System.Drawing will open a bitmap from disc, and allow you to access it's information if you need it. There is no PDF support in .NET, that's why people advertise on this site selling PDF components to plug into .NET. However, a PDF is just text, so if you don't want to display it, you can read it the same as a text file. If it's not compressed ( which is rare ), you can even make changes, so long as the text you add is the same length as the text you remove. Christian Graus - Microsoft MVP - C++