Link to home
Start Free TrialLog in
Avatar of jayhutch6279
jayhutch6279

asked on

Help with Adobe Acrobat ActiveX Control

I am writing an app in VB6 an want to use the Acrobat ActiveX control, but I can't find any good documentation. I want to be able to drag items from a list box or combo box into text box items on a pdf. My problem is that I don't know where to drop the item. If anyone has any ideas, or knows where I can find some documentation, please let me know.
Avatar of Z03niE
Z03niE

Which version of Acrobat ActiveX control ?
AFAIK the control is only able to read and preview pdf file.
It is not intended to edit any pdf document.
Avatar of jayhutch6279

ASKER

I'm using the pdf.ocx. If the control only allows to read and preview, do you know of any way to drag from an app and drop onto a pdf?
I figured this out on my own using examples from the SDK. Had to create a PDF object in a child mdi form. In the dragdrop event of the form, loop through each field to get the field name. Create a javascript field object and set it to the current field with the field name. Get the Javascript field bounding rectangle coordinates. If the X and Y coordinates returned by the dragdrop event are within the bounding rectangle coordinates, then that is the field you dropped on. Set the value of the field to whatever you dropped.
ASKER CERTIFIED SOLUTION
Avatar of ee_ai_construct
ee_ai_construct
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial