reading pdf files inside a form

I was able to read a pdf using the webbrowser control
for example I used:
VB.NET:
Expand Collapse Copy
webbrowser1.navigate("c:/test.pdf")
and the pdf file's contents were loaded into the webbrowser!
 
If you have Adobe PDF Reader installed you can also add an ActiveX COM control of this to your toolbox, then like other controls add it to a form. The LoadFile method can load a document.
 
Back
Top