Solved

Help with Adobe Acrobat ActiveX Control

Posted on 2006-07-05
6
714 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
  • 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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

839 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