Copy link to clipboard
Copied
Greetings all,
I am trying to add Adobe PDF Reader control to my project, once I drag-drop on the form, it shows the following error:
Any Idea how to solve it?
Thanking you
Copy link to clipboard
Copied
[topic moved to Acrobat SDK forum]
Copy link to clipboard
Copied
Is this control and method one of those listed in the Acrobat SDK? It is vital to use the documentation, you will find many registered controls which are not intended for development.
Copy link to clipboard
Copied
Thank you for your reply,
This control is added by choosing Items from "COM Components" in Visual Studio, and it is added to Toolbox control as "Adobe PDF Reader" which references to "AcroPDF.dll"
by the way, I just want to get your attention to the following points:
1- The purpose of this to allow user preview PDF file before selecting them "like windows explorer"
2- I noticed the file "AcroPDF.dll" goes under x86 programs which means it is 32-bit, while my OS is 64-bit and CPU is 64-bit as well
Thanking you
Copy link to clipboard
Copied
So have you downloaded and installed the SDK at all?
I emphasise that finding components in COM explorer for Acrobat/Reader automation is most unwise, use only documented methods.
Copy link to clipboard
Copied
Thanks again,
What SDK should I download then? can you post the URL to the recommended SDK? in addition to proper methods?
Thanks
Copy link to clipboard
Copied
The Acrobat SDK. http://www.adobe.com/devnet/acrobat.html
To report a problem it needs to be phrased as "the Acrobat SDK says I can.... but....".
Copy link to clipboard
Copied
I could not find anything in the SDK that is useful to this topic. The "Visual Studio App Wizard" showed some promise, but it did not work at all..
Test Screen Name wrote:
The Acrobat SDK. http://www.adobe.com/devnet/acrobat.html
To report a problem it needs to be phrased as "the Acrobat SDK says I can.... but....".
Copy link to clipboard
Copied
Is this SDK for Visual Studio 2013? it requires 2010 to be installed, and then it requires Adobe 9.0 or XI not "Acrobat Reader DC" which is the latest !!
Kindly confirm
Copy link to clipboard
Copied
Acrobat Reader DC’s SDK has not yet been released.
Copy link to clipboard
Copied
One issue, open different multiple issues, without any clear answer !!
This SDK Requires Old Adobe version, and Requires old Visual Studio Version as well, what should be done? shall I downgrade my development environment to be able to use this feature in my application?
on the other hand, why there is no 64-bit Adobe Reader? as I already explained above in this thread?
Copy link to clipboard
Copied
While waiting for the SDK, you can fill your time by downgrading Reader.
Not clear what you mean by >>The purpose of this to allow user preview PDF file before selecting them "like windows explorer"<< The Windows preview window uses a Microsoft standard COM interface, not documented (because it is standard). But some suggest it has been removed in Adobe Reader DC. The documented interface is for showing a PDF in a window, not generating a preview. You might be able to use it for the purpose, however.
Copy link to clipboard
Copied
Unclear Answer ..
What I meant by preview, is to place the "Adobe PDF Reader" control, in a Visual Basic .NET 2013 form, and once the user selects PDFfile, it show the preview in that control. similar to Windows Explorer feature as an example.
I downloaded and installed "Acrobat Reader DC" as well, and same problem with different error message. in addition, the SDK you suggested is not compatible with Acrobat Reader DC.
One final issue, where to download a true 64-bit version of Acrobat Reader? instead of the 32-bit version?
Thanks
Copy link to clipboard
Copied
There is no 64bit version of Adobe Acrobat (or Reader).
Copy link to clipboard
Copied
Then, how to add such feature to my application?
Thanks
Copy link to clipboard
Copied
This video illustrates what I am trying to do,
but as soon as I drop the control on the form, the Error message appears
any workaround for the scenario ?
Visual Basic .NET 2013
Adobe Reader XI
Windows 8.1
Thanks
Copy link to clipboard
Copied
I don't know what video you mean, but the point is you have to use only the methods and interfaces in the Acrobat SDK. Can you confirm which specific documented methods and interfaces you are using?
Copy link to clipboard
Copied
Copy link to clipboard
Copied
‌this video does not seem to be from Adobe. The internet is full of questionable advice. from your silence on tis, I assume you have not read the Acrobat SDK.
Copy link to clipboard
Copied
And who said it is from Adobe?
This method is much easier why would someone go through a complicated method such SDK ??
I am facing some errors while using this method, where can I get proper support? as long as Adobe says we dont support and Microsoft says we dont support??
Then where shall I get support from?
and if it is not supported by Adobe, what shall we consider this topic:
https://helpx.adobe.com/acrobat/kb/vb-60-64-bit-issue-11007.html
which is related to my original post
Thanks
Copy link to clipboard
Copied
‌adobe write thousands of pages of information for developers. It is the SDK. Why would they support anyone who doesn't want to read it? (But you can check this. I belive support cases are $200)
Copy link to clipboard
Copied
Out of topic ... nothing useful among all of your replies, incomplete replies, etc ....
Please Give a chance to someone else who cant give at least a clue
Thank you
Copy link to clipboard
Copied
lrosenth wrote:
There is no 64bit version of Adobe Acrobat (or Reader).
What of these posts you made, then: Re: The AcroPDF.PDF Class is no longer accessible from VisualBasic6 after update 11.0.0.7.
With Reader 11.0.7, we (finally!) now provide a 64bit version of AcroPDF.dll so that Reader can be used in 64bit browsers! Great news for customers.
For those of you who are using modern development environment but had previous built your apps as 32 bit (because of AcroPDF) - you can now simply rebuild as either 64 only or "Any" and not only will things work again but you're app will now be 64bit!
Copy link to clipboard
Copied
I said the DLL is available in 64bit. Acrobat and Reader remain 32bit apps. And remember, the DLL is a lightweight shim to those apps.
Copy link to clipboard
Copied
My question is simply: Is this ActiveX control supposed to work for 64 bit .NET apps? It does not appear to do so for me. If I create a C#.Net Windows Forms project, add the "Adobe PDF Reader" ActiveX control to my form, and add a single line of code to call LoadFile, the PDF displays fine if I set the Build platform to x86 or select "prefer 32-bit", but the PDF does not display if I uncheck "prefer 32 bit" and try to run the app 64 bit.