Solved

Help with Adobe Acrobat ActiveX Control

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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

762 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now