oleobject lnv_Document, &
lnv_Form, &
lnv_Field
lnv_Document = CREATE oleobject
lnv_Document.ConnectToNewObject("AcroExch.AVDoc")
lnv_Document.Open("c:\temp\myfile.pdf", "")
lnv_Form = CREATE oleobject
lnv_Form.ConnectToNewObject("AFormAut.App")
lnv_Field = lnv_Form.Fields.Item("myPDFfield")
lnv_Field.Value = "My text to display."
.
.
.
lnv_Form.DisconnectObject()
lnv_Document.Close(FALSE)
lnv_Document.DisconnectObject()
DESTROY lnv_Form
DESTROY lnv_Document
You can download the Adobe Acrobat SDK from
http://partners.adobe.com/asn/developer/acrosdk/acrobat.html
Unfortunately, Adobe does not support the SDK when used with PowerBuilder.
I have experiened stability problems when accessing Acrobat automation via a
PowerBuilder 7.03 app running on Windows 95/98/ME (NT and Win2K work fine).
I had to wrap the automation calls in a C dll to overcome these problems.
HTH
Ken Halbert
KYMN Information Technology Solutions, Inc.
ke...@abac.com
"Martin" <m.kalt...@xpoint.at> wrote in message
news:bJG26$UgAH...@forums.sybase.com...
The ConnectToNewObject("AcroExch.AVDoc") needs to register a library to the
system, (regsvr32 AcroExch.AVDoc)
Can you tell me what libary I need and where can I found it?
How can I get the methods of this library?
A lot of thanks
Jesus
"Ken Halbert" <Ken.H...@netregulus.com> escribió en el mensaje
news:Rig9G3V...@forums.sybase.com...