Share Tips, Code Samples, etc. with the Visual Prolog community.
Kari Rastas
Active Member
Posts: 36
Joined: 4 Mar 2000 0:01

PDF custom control example

Unread post by Kari Rastas »

  • 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.
Steve Lympany
VIP Member
Posts: 56
Joined: 31 Mar 2001 23:01

Unread post by Steve Lympany »

Hi Kari,
Just a brief note, runcom should be used and not run in pdfControl.pro.
Nice.
cheers
Steve
User avatar
Tonton Luc
VIP Member
Posts: 204
Joined: 16 Oct 2001 23:01

Unread post by Tonton Luc »

How to use it with VP 6.2 ?
Kari Rastas
Active Member
Posts: 36
Joined: 4 Mar 2000 0:01

Unread post by Kari Rastas »

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.
Yuri Ilyin
Posts: 5
Joined: 3 May 2000 23:01

Unread post by Yuri Ilyin »

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

So it is better to upgrade to Vip6.3
regards Yuri.
Kari Rastas
Active Member
Posts: 36
Joined: 4 Mar 2000 0:01

Unread post by Kari Rastas »

VIP build 7002 version.
User avatar
drspro2
VIP Member
Posts: 97
Joined: 28 Apr 2006 12:03

Unread post by drspro2 »

i dont see where i can download the example project


theres no link
Steve Lympany
VIP Member
Posts: 56
Joined: 31 Mar 2001 23:01

Unread post by Steve Lympany »

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
Attachments
pdfControl.zip
VIP7.3 project. Acrobat PDF reader COM example
(46.58 KiB) Downloaded 1347 times
User avatar
drspro2
VIP Member
Posts: 97
Joined: 28 Apr 2006 12:03

Unread post by drspro2 »

Thankyou again Steve,
Post Reply