Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

hi, i'm trying to show a pdf file with in a form on my application, is there a way to do this?

I'm not asking you guys to totally solve my problem, but if you guys point me to the right direction, i'll really appreciate it.

 

I'm guessing that this is possible with the pdflib activex that comes with acrobat, but i just can't figure out where to start, tks a lot guys.

 

i'll keep trying on my own while i wait for any replies.

tks for your time.

  • *Experts*
Posted

Acrobat comes with an ActiveX to do just that.

In yout control toolbox select Add/Remove controls and select the COM tab and then look for a control that has a name which starts with Adobe (I dont remeber the full name :)).

Posted

tks

 

Tks mutant, i had the pdf.ocx already on my project, my problem was that i don't know what methods should i use to display the document on my form, and i don't if the document should be displayed on a form, picturebox, or any other control.

I searched the forum for the answer and there was a guy who did it, but he dos not explain how, and as matter of fact, you were the one who told him how to do it.

 

Please, would you help me a little bit to figure this out?

anybody?

tks for your time.

Posted

hi

 

hi,

mutant, i have now the acrobat control for activex on my form, tks for the tip, but now i can't make it work, when i try to run the form with the acrobat control on it, i recieve this error:

 

"Object reference not set to an instance of an object."

 

I tried removing and playing with the windows generated code but still no luck.

 

could some one please help me out.

tks for your time guys.

  • *Experts*
Posted
The error seems to happen when I change the PDF document from the one that was set first (which works). Ill have to look into this more later because I will be leaving shortly.
Posted

mutant

 

finally i got it to work, the problem was the acrobat control that is listed on the menu of add/remove items on the tool bar,

instead of choosing that one, i browsed to the acrobat reader folder and under the activex folder, there is another copy of the control (pdf.ocx), i choosed that one and now it works like a charm.

Tks for all your help.

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...