?
Solved

Drag and Drop from VB6 onto a pdf ?

Posted on 2006-07-07
7
Medium Priority
?
195 Views
Last Modified: 2010-04-30
I am trying to right an app that will allow me to drag items from a list box, combo box, grid, whatever,  onto a pdf that is open in an ActiveX control(pdf.ocx). So far I have had no success. I have the Acrobat SDK but the documentation and examples it provided leave a lot to be desired. Is this even possible and if so HOW?????????
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
  • 2
7 Comments
 

Author Comment

by:jayhutch6279
ID: 17076767
Been there already. All they give you is a link to the Acrobat SDK, which as I said, isn't documented that well. It is starting to seem like this isn't possible. I find it hard to believe that there is no way to drag from a vb6 form onto a pdf, but no one I talk to seems to know how. If anyone else has any ideas, code samples, documentation, ANYTHING!!!!!, I would sure appreciate it. Untill then, I'll just keep trying. Thanks!!
0
 
LVL 9

Expert Comment

by:justchat_1
ID: 17077002
A few links that might help:

http://www.planetpdf.com/forumarchive/80723.asp
They have 1225 articles regarding visual basic pdf support so if that isnt what you had in mind try searching around a little

2 links off this PAQ:
http://www.experts-exchange.com/Programming/Programming_Languages/Visual_Basic/Q_20371498.html

Finally a similar open question you might want to keep an eye on:
http://www.experts-exchange.com/Programming/Programming_Languages/Visual_Basic/Q_21908627.html?query=drag+drop+pdf&topics=93
0
 

Author Comment

by:jayhutch6279
ID: 17295991
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 and exit the loop.
0
 

Accepted Solution

by:
ee_ai_construct earned 0 total points
ID: 17347956
Closed, 300 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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
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…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…
Suggested Courses
Course of the Month15 days, 4 hours left to enroll

771 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