Solved

Help with Adobe Acrobat ActiveX Control

Posted on 2006-07-05
6
716 Views
Last Modified: 2012-06-21
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.
0
Comment
Question by:jayhutch6279
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
6 Comments
 
LVL 5

Expert Comment

by:Z03niE
ID: 17048608
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.
0
 

Author Comment

by:jayhutch6279
ID: 17050185
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?
0
 

Author Comment

by:jayhutch6279
ID: 17296020
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.
0
 

Accepted Solution

by:
ee_ai_construct earned 0 total points
ID: 17347952
Closed, 200 points refunded.
ee ai construct
Community Support Moderator
replacement part #xm34
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

729 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question