Solved

Drag and Drop from VB6 onto a pdf ?

Posted on 2006-07-07
7
190 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Input past end of file vbs script 9 82
Windows Script Host failed (Access is denied.) error 6 109
message box in access 4 41
vb6 - Transfer from MSHFlexgrid1 to xls issue 8 47
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
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…
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…

895 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

12 Experts available now in Live!

Get 1:1 Help Now