Copy link to clipboard
Copied
After upgrading to 11.0.0.7 of Acrobat Reader it is no longer possible to get an instance of the AcroPDF.PDF Control in Visual Basic 6
Private PDFExt As VBControlExtender
Set PDFExt = Me.Controls.Add("AcroPDF.PDF", "PDF")
This worked fine with the 11.0.0.6 Version of the Reader!
Is there any solution available?
Thanks in advance
Stefan
Copy link to clipboard
Copied
Possible temporary SOLUTION (only for view pdf) for DELPHI users (waiting for a fix from Adobe).
step 1) remove TAcroPDF from your form.
step 2) put TWebBrowser component in your form.
step 3) replace the line of code "AcroPDF.src:=Filename" with the line TWebBrowser1.Navigate('file:///'+Filename)".
It work fine (tested with Delphi2007 in both Win32/Win64 environment with a variety of default browser).
Copy link to clipboard
Copied
With VB6 also works fine using the WebBrowser control. Thank you.
Copy link to clipboard
Copied
We too have had issues since upgrading our desktops to 11.0.0.7, I have had to uninstall it and re-install 11.0.0.6 on all of our desktops to enable our programs to work.
As this worked before this update surely it is an Adobe issue.
Copy link to clipboard
Copied
solution for Delphi users.
copy oleCtrls.pas to oleCtrlsAdobe.pas.
then remove from TOleControl:
- IServiceProvider
- function QueryService(...): HResult; stdcall;
- function TOleControl.QueryService(..): HResult;
the definition looks as follows:
TOleControl = class (Twin Control, IUnknown, IOleClientSite,
IOleControlSite, IOleInPlaceSite, IOleInPlaceFrame, IDispatch,
IPropertyNotifySink, ISimpleFrameSite)
then replace in the unit AcroPDFLib_TLB.pas OleCtrls by OleCtrlsAdobe.
Copy link to clipboard
Copied
Worked perfectly! Please reply too in Re: update 11.0.07 causes ActiveX crash on Delphi applications
Thanks for the great help!!!!
Copy link to clipboard
Copied
Thank You.
Successful fix in D2007 and XE2
Copy link to clipboard
Copied
Hello there. I'm afraid that when I do precisely what you say, I get an error saying that oleCtrlsAdobe.dcu cannot be found when I compile. Sorry for the noobish question (I am not totally familiar with Delphi yet), but are there any (probably obvious!) steps which you did not include?
Thanks,
Andy
Copy link to clipboard
Copied
Am 23.05.2014 10:51, schrieb Andrew2014:
try this, it's the same but another way
1) open AcroPDFLib_TLB.pas
2) add this
TAcroPDF = class(TOleControl)
...
protected
procedure CreateControl;...
//ADDED
function QueryInterface(const IID: TGUID; out Obj): HResult; override;
//ADDED
3) Added this in the implementation section:
//ADDED
function TAcroPDF.QueryInterface(const IID: TGUID; out Obj): HResult;
begin
if IID = IServiceProvider then
Result := E_NOINTERFACE
else
inherited;
end;
//ADDED
4) re-build the package you are using and re-install it in the IDE
5) you should be good to go
Hello there. I'm afraid that when I do precisely what you say, I get
an error saying that oleCtrlsAdobe.dcu cannot be found when I compile.
Sorry for the noobish question (I am not totally familiar with Delphi
yet), but are there any (probably obvious!) steps which you did not
include?
Copy link to clipboard
Copied
Am 23.05.2014 10:52, schrieb hbarclay:
>
The AcroPDF.PDF Class is no longer accessible from VisualBasic6
after update 11.0.0.7.
created by hbarclay <https://forums.adobe.com/people/hbarclay> in
/Acrobat SDK/ - View the full discussion
<https://forums.adobe.com/message/6403212#6403212>
Copy link to clipboard
Copied
Thanks Singulus1 ... that solution worked perfectly for us, just have to go through the release process to get it out there now
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Anyone have any solution for VB6.
Copy link to clipboard
Copied
The message you sent requires that you verify that you
are a real live human being and not a spam source.
To complete this verification, simply reply to this message and leave
the subject line intact or click the link below:
http://www.barclaysoftware.com/cgi-sys/bxd.cgi?a=harry@barclaysoftware.com&id=nAZTPcGqqYUpXUnoFhWmA-1401373238
The headers of the message sent from your address are shown below:
From forums_noreply@adobe.com Thu May 29 09:20:38 2014
Received: from mail0.phx1.jivehosted.com (:42678 helo=mx1-out1.phx1.jivehosted.com)
by volkswagen.websitewelcome.com with esmtps (TLSv1:DHE-RSA-AES256-SHA:256)
(Exim 4.82)
(envelope-from <forums_noreply@adobe.com>)
id 1Wq1CA-0006sj-JT
for harry@barclaysoftware.com; Thu, 29 May 2014 09:20:38 -0500
Received: from adobe-v7-wa05.m2phx1.jivehosted.com (lbs1.phx1.jivehosted.com )
by mx1-out1.phx1.jivehosted.com (Postfix) with ESMTP id 6DCB3602A5F
for <harry@barclaysoftware.com>; Thu, 29 May 2014 14:20:36 +0000 (GMT)
Copy link to clipboard
Copied
Estimado
Reciba un saludo desde Ciudad Victoria, Tamaulipas, México.
Atentamente
Dr. Ignacio M Morales Flores
Cirujano general y Programador de Aplicaciones Prácticas
http://cpimario.com
http://consultapractica.com
Copy link to clipboard
Copied
The message you sent requires that you verify that you
are a real live human being and not a spam source.
To complete this verification, simply reply to this message and leave
the subject line intact or click the link below:
http://www.barclaysoftware.com/cgi-sys/bxd.cgi?a=harry@barclaysoftware.com&id=20F3wJbISA7RW82DG4RBy-1401373537
The headers of the message sent from your address are shown below:
From forums_noreply@adobe.com Thu May 29 09:25:37 2014
Received: from mail0.phx1.jivehosted.com (:59800 helo=mx1-out1.phx1.jivehosted.com)
by volkswagen.websitewelcome.com with esmtps (TLSv1:DHE-RSA-AES256-SHA:256)
(Exim 4.82)
(envelope-from <forums_noreply@adobe.com>)
id 1Wq1Gz-00017k-RQ
for harry@barclaysoftware.com; Thu, 29 May 2014 09:25:37 -0500
Received: from adobe-v7-wa05.m2phx1.jivehosted.com (lbs1.phx1.jivehosted.com )
by mx1-out1.phx1.jivehosted.com (Postfix) with ESMTP id 1F5FC602B53
for <harry@barclaysoftware.com>; Thu, 29 May 2014 14:25:37 +0000 (GMT)
Copy link to clipboard
Copied
Yes some ideas have been use Interop via .Net mentioned earlier, use the Microsoft Internet component which allows you to embed a web browser, use OLE Object or buy a third party ocx pdf reader.
Copy link to clipboard
Copied
The message you sent requires that you verify that you
are a real live human being and not a spam source.
To complete this verification, simply reply to this message and leave
the subject line intact or click the link below:
http://www.barclaysoftware.com/cgi-sys/bxd.cgi?a=harry@barclaysoftware.com&id=YCF9Oc33ofix8FnIGCMpj-1401374953
The headers of the message sent from your address are shown below:
From forums_noreply@adobe.com Thu May 29 09:49:13 2014
Received: from mail0.phx1.jivehosted.com (:54854 helo=mx1-out2.phx1.jivehosted.com)
by volkswagen.websitewelcome.com with esmtps (TLSv1:DHE-RSA-AES256-SHA:256)
(Exim 4.82)
(envelope-from <forums_noreply@adobe.com>)
id 1Wq1dp-0005w4-Bz
for harry@barclaysoftware.com; Thu, 29 May 2014 09:49:13 -0500
Received: from adobe-v7-wa06.m2phx1.jivehosted.com (lbs1.phx1.jivehosted.com )
by mx1-out2.phx1.jivehosted.com (Postfix) with ESMTP id 823A9202103
for <harry@barclaysoftware.com>; Thu, 29 May 2014 14:49:11 +0000 (GMT)
Copy link to clipboard
Copied
Can someone disable that spam from http://www.barclaysoftware.com?
Copy link to clipboard
Copied
The message you sent requires that you verify that you
are a real live human being and not a spam source.
To complete this verification, simply reply to this message and leave
the subject line intact or click the link below:
http://www.barclaysoftware.com/cgi-sys/bxd.cgi?a=harry@barclaysoftware.com&id=ZVJ5xqBSss5ashxn5Qx0m-1401375194
The headers of the message sent from your address are shown below:
From forums_noreply@adobe.com Thu May 29 09:53:14 2014
Received: from mail1.phx1.jivehosted.com (:58352 helo=mx1-out5.phx1.jivehosted.com)
by volkswagen.websitewelcome.com with esmtps (TLSv1:DHE-RSA-AES256-SHA:256)
(Exim 4.82)
(envelope-from <forums_noreply@adobe.com>)
id 1Wq1hi-00086g-4T
for harry@barclaysoftware.com; Thu, 29 May 2014 09:53:14 -0500
Received: from adobe-v7-wa07.m2phx1.jivehosted.com (lbs1.phx1.jivehosted.com )
by mx1-out5.phx1.jivehosted.com (Postfix) with ESMTP id 1B88F8825E2
for <harry@barclaysoftware.com>; Thu, 29 May 2014 14:53:09 +0000 (GMT)
Copy link to clipboard
Copied
I've reported it as abuse twice already ... strange place to phish for bank details.
Copy link to clipboard
Copied
Thank you very much for the advice. My apologies for the extra email due to spam barclaysoftware.com
Copy link to clipboard
Copied
VB6 Solution: Add a "Microsoft WebBrowser control" (ieframe.dll) to a form and use its Navigate method to open the PDF file.
Examples:
WebBrowser1.Navigate txtFile.Text
WebBrowser1.Navigate Filename
Copy link to clipboard
Copied
This has been discussed before - VB6 hasn't been supported for a LONG time...
Copy link to clipboard
Copied
Hi all,
Any solution from Adobe?? I see..... all developers and programmers used their own solution, but nothing from adobe itself?
Adobe had the best file format ever existed, then they turned it to a bunch of rubbish... the PDF reader was 12kb in early times.. now?? I even dont know... full filled with rubbish which less than 5% of daily users find useful.
I've been thinking to shout it out.. but always leaving my comments to later... but now?!!! After "legacy" Applications which used PDF for years, almost 2 decades, just stop working and there is no solution from adobe? seriously??
I'm commissioned to test environment for a company with about 20.000 users upgrading to windows 10.. using theirs very old VB6 application (which is running just FINE) but the solution of using a webbrowser object to open/read PDFs did not work with windows 10 and the latest PDF reader!!!
My solution to them??? EASY.. CONVERT ALL 1.000.000 DOCUMENTS FROM PDF TO XPS Documents.. XPS is now the easiest format to create.. its HYPER-FAST reader is "native and free" within the windows xx also we can open/read it via web browsers AND AND AND not full of "greebles"!!!
It will take 1 week to convert all docs, and no programmatic needed.. cost effective and no more headache in the future.
So, dear Adobe... bye bye.. for one of largest companies in that country. They will never hear about PDF again.
I will revisit this thread in a week or two to see if adobe takes any actions.. but I dont believe they will...
For all of you developers/programmers out there, I wish the best of luck!
Regards,
MBS the Ex-PDF user
Copy link to clipboard
Copied
I am a newbie, using excel 2013 and have created a few basic programs to read pdf files from our network within a userform, now i am unable as to form will not even load without error. So i understand the new release is a 64bit application, so my question is how do i load the adobe pdf control into my userform
thanks in advance