Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

OCX for Acrobat

123 views
Skip to first unread message

Brent McIlquham

unread,
Oct 22, 2003, 2:06:08 PM10/22/03
to
Has anyone been able to get the OCX for Acrobat to work in a Powerbuilder
App. I'm trying to call a PDF file into my OLE Custom Control. I've been
successfull using the "ole_1.object.src = ls_filename" however I can't
figure out how to EXIT one file and open another PDF using the same OLE
custom Control. Powerbuilder crashes every time I try to execute another
"ole_1.Object.SRC = ls_filename" command.

I've tried setting the property (ole_1.Object.SRC = '') to NILL before
trying to load another file.... The property is set correctly however it
still won't load the new PDF file.
I've tried using the ole_1.object.loadfile(ls_filename) method. I can get
it to work once and then nothing, same as the SRC property!

Adobe must have done something different with Acrobat 5 because I don't see
any Properties or Methods in the Object Browser. Either that or I don't
have the proper OCX loaded (I current have "pdf.ocx" loaded). I only picked
up on *.Object.SRC & *.Object.LoadFile() from reading the NewsGroups.

I've read some talk about Acrobat Exchange on the newsgroups but can't quite
find enough to piece it all together. Adobe doesn't offer Exchage as a
product anymore, if they ever did? Adobe doen't offer offer the SDK free
anymore, so I can't tell if it would help or not at this point.

Environment:
PIII 700
256 Megs
PB 7.0.3 build 10213
Acrobat 5 (not just the reader but the distiller as well)

Brent


0 new messages