Solved

Drag and Drop from VB6 onto a pdf ?

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

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

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…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
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…
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…

724 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