Using OLE InsertClass function with PDFCreactiveX

If you are a Power Builder developer and have any questions about using our products from Power Builder here is the place to post them.
Post Reply
atung
Posts: 3
Joined: Sun Nov 30 2008

Using OLE InsertClass function with PDFCreactiveX

Post by atung » Tue Mar 17 2009

Hi all,

I am having some problem trying to use the OLE InsertClass function with PDFCreactiveX ActiveX control.
I have an empty OLE control ( ole_1 ) on my window and when i click on a button the below scripts is executed.

ole_1.InsertClass( "PDFCreactiveX.PDFCreactiveX.4" )
ole_1.object.Open("C:\Temp\12345.PDF", "")

The PDF file seems to display behind the OLE_1 control in the window.

Has anyone experience this before and how can I dynamically set the OLE class and open a PDF using the OLE control.

Thanks in advance.

Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Re: Using OLE InsertClass function with PDFCreactiveX

Post by Joan » Mon Mar 23 2009

Hello,

I never experienced this before myself.

Did you check our Powerbuilder technical note?

Why are you using PDFCreactiveX.PDFCreactiveX.4 and not PDFCreactiveX.PDFCreactiveX ?

Thanks,
Custom Brand the Amyuni PDF Printer Driver http://www.amyuni.com/en/developer/branding/index.html

Amyuni PDF Converter tested for true PDF performance. View results - http://www.amyuni.com/benchmark

Post Reply