I am trying to display pdf file on my screen(web page). So I added "adobe pdf reader" in toolbox (COM) and also added "Adobe Acrobat 7.0 Browser Control Type Library 1.0" into reference. But pdf reader is not showing in my toolbox. How can I do for displaying pdf on my screen?
asked Dec 7, 2021 at 8:01 Su Myat Kyaw Su Myat Kyaw 13 1 1 silver badge 7 7 bronze badgesYou can use asp:LinkButton if you don't have any library/external plugin. I recommend you DevExpress if you have to choose one.
answered Dec 7, 2021 at 15:23 Lorenzo Martini Lorenzo Martini 373 1 1 silver badge 8 8 bronze badgesthank you. I used LinkButton and it did work well. I made a reference from this site. aspsnippets.com/Articles/…
Commented Dec 8, 2021 at 0:11As you found out - you can see that you not really using nor care about the Adobe PDF viewer - but are accepting and using whatever the end user has setup on their computer and browser to display the pdf. As such, you can't use com or ActiveX objects in web land - it just don't work that way anymore.