Solved

Drag and Drop from VB6 onto a pdf ?

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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

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…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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 Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

759 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

20 Experts available now in Live!

Get 1:1 Help Now