Solved

Drag and Drop from VB6 onto a pdf ?

Posted on 2006-07-07
7
192 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
  • 2
  • 2
7 Comments
 
LVL 9

Expert Comment

by:justchat_1
ID: 17063212
0
 

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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…
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…

828 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