Loading pdf files in Windows App

donnacha

Centurion
Joined
Feb 27, 2003
Messages
187
Hi folks,
I am trying to find a way to load pdf files in a windows app, similarly to how one loads an rtf file to a richtextbox.

Does anybody know if it is possible todo this.
 
Adobe Acrobat Reader comes with an ActiveX control you can put on your form. If you have it, go to your toolbar, Add\Remove Components, then COM components and then look for a name that starts with Adobe.
 
Thanks mutant, that worked fine, although I had to remove some IDE added instructions to get it to load the file.

CType(Me.AxPdf1, System.ComponentModel.ISupportInitialize).BeginInit()
&
CType(Me.AxPdf1, System.ComponentModel.ISupportInitialize).EndInit()
 
Back
Top