FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log inLog in 


PDF custom control example

Post new topic   Reply to topic    discuss.visual-prolog.com Forum Index -> Visual Prolog Tips & Samples
View previous topic :: View next topic  
Author Message
Kari Rastas




Joined: 04 Mar 2000
Posts: 202

PostPosted: 18 Feb 2006 0:05    Post subject: PDF custom control example Reply with quote

Presenting pdf files in some applications could be “handy”. Creating a com package from Adobe’s Reader version 7 is simple. Choose from … \Adobe\Acrobat 7.0\ActiveX the AcroPDF.dll as the Type library and most of the work is done.

The example project has
    a dialog which has a pdf custom control
    a form where the whole form area is used for the activeX control.
Both the dialog and the form can be resized.

(I corrected the runCom mistake Steve mentioned).


Last edited by Kari Rastas on 18 Feb 2006 23:17; edited 1 time in total
Back to top
View user's profile Send private message
Steve Lympany



Horsham, England
Joined: 31 Mar 2001
Posts: 1152

PostPosted: 18 Feb 2006 17:37    Post subject: Reply with quote

Hi Kari,
Just a brief note, runcom should be used and not run in pdfControl.pro.
Nice.
cheers
Steve
Back to top
View user's profile Send private message Visit poster's website
Tonton Luc



FRANCE (Le Touquet)
Joined: 16 Oct 2001
Posts: 1548

PostPosted: 29 Mar 2006 15:56    Post subject: Reply with quote

How to use it with VP 6.2 ?
Back to top
View user's profile Send private message
Kari Rastas




Joined: 04 Mar 2000
Posts: 202

PostPosted: 29 Mar 2006 19:47    Post subject: Reply with quote

I do not any more have 6.2 installed so I can't tell the "problems".

Try to create a new COM package from AcroPDF.dll. I quess that there are no major changes in the com parts of the different version.
Back to top
View user's profile Send private message
Yuri Ilyin



St. Petersburg, Russia
Joined: 03 May 2000
Posts: 438

PostPosted: 30 Mar 2006 8:42    Post subject: Reply with quote

Actually Vip6.3 has many improvements for COM and especially for ActiveX.

So it is better to upgrade to Vip6.3

_________________
regards Yuri.
Back to top
View user's profile Send private message Send e-mail
Kari Rastas




Joined: 04 Mar 2000
Posts: 202

PostPosted: 14 Aug 2006 23:02    Post subject: Reply with quote

VIP build 7002 version.
Back to top
View user's profile Send private message
drspro2



The Netherlands
Joined: 28 Apr 2006
Posts: 171

PostPosted: 1 Jul 2010 15:09    Post subject: Reply with quote

i dont see where i can download the example project


theres no link
Back to top
View user's profile Send private message
Steve Lympany



Horsham, England
Joined: 31 Mar 2001
Posts: 1152

PostPosted: 2 Jul 2010 14:37    Post subject: Reply with quote

Hi,
I found a copy developed by Kari Rastas for VIP 6.3 (or VIP7.0) "linked" with an old Acrobat. I have managed to get it working with VIP7.3 without rebuilding the COM - just doing some manual editing to get it to compile. It works with Acrobat Reader 8.

PS I checked with Kari to make sure it is OK with him to upload.

cheers
Steve



pdfControl.zip
 Description:
VIP7.3 project. Acrobat PDF reader COM example

Download
 Filename:  pdfControl.zip
 Filesize:  46.58 KB
 Downloaded:  949 Time(s)

Back to top
View user's profile Send private message Visit poster's website
drspro2



The Netherlands
Joined: 28 Apr 2006
Posts: 171

PostPosted: 4 Jul 2010 12:46    Post subject: Reply with quote

Thankyou again Steve,
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    discuss.visual-prolog.com Forum Index -> Visual Prolog Tips & Samples All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum