Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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.

Hamlet
  • *Experts*
Posted
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.
Posted

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()

Hamlet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...