Acrobat Reader 9.1 ActiveX control problems
We have an application written in VB.NET 2005 which displays a PDF file using embedded ActiveX control from Acrobat Reader (using AcroPDF.dll).
The code to open the file is very simple:
Me.AxAcroPDF1.LoadFile(_path)
The application was compiled on the machine that had Acrobat Reader 8 installed and distributed. The users also had Acrobat 8 installed.
Some of the users upgraded to Acrobat 9.1. I understand that it shouldn't really matter as the ActiveX control from 9.1 should be backward compatible.
Yet some users cannot open the file and receive the following error message:
"Error HRESULT E_FAIL has been returned from a call to a COM component"
Some other users can open the file but have the following message when closing the application (which calls Me.AxAcroPDF1.Dispose() ):
"The instruction at "0x0700609c" referenced memory at "0x00000014". The memory could not be "read"."
What can cause those problems? How can I fix them?
OK, no one responsed to my questions but I found answers for them so I thought I might put them here for those interested.
As for "HRESULT E_FAIL" message, all that was wrong was the "Display PDF in browser" option in Adobe Reader preferences. It needs to be ticked. A bit weird but considering that it uses the same OCX in a web browser, it makes some sense.
As for the memory issues message, I need to unload libraries manually before exiting the application (as suggested in some other thread in this forum):
<DllImport("ole32.dll")> _
Friend Shared Sub CoFreeUnusedLibraries()
End Sub
Me .AxAcroPDF1.Dispose()UnmanagedCode.CoFreeUnusedLibraries()
Similar Messages
-
Acrobat X ActiveX Control problem
Hello,
we embed Acrobat Reader X in our application to view PDF Files. We use the Acrobat Reader Active X Control for that. Recently we started to get report about problems with the plugin and do not know what to search for. It seems that when used as ActiceX Control, Acrobat Reader is not loading the document correctly which makes find operations or signature checks hang forever. Also no thumbnails are created in Thumbnails View (just an empty white page). Opening the same file in reader directly works OK with no issues. Any ideas what to look for? The same code works perfectly with older versions of Acrobat ActiveX Control.
Here some screenshots from a sample application we created to test the issue:
1) No Thumbnails - only white pages
2) No signature - although the document is signed
3) When pressing 'Verify All' on the signatures panel - the following message appears (it basically states: "for this operation, the whole document needs to be downloaded") - but the document is local and has been loaded. Pressing OK makes it hang forever.
A similar problem happens when using CTRL+F - i can enter a search, but then it hangs forever saying that page 1 of x is searched. Probably the same issues that the Active X controls thinks it needs to download something.
Here the code we use to create the control and load the file:
m_pPdf = new CAcroAXDocShim;
CRect r; GetClientRect(r); r.bottom -= 50;
if (!m_pPdf->Create(_T("AdobeWnd"), WS_CHILD | WS_VISIBLE, r, this, 12345))
delete m_pPdf;
m_pPdf = NULL;
m_pPdf->LoadFile (_T("d:\\temp\\Thea7b2.pdf"));
Anyone experienced something similar?
Any help or feedback would be greatly appeciated.
Thanks,
WolfgangSame problem here with 10.1.0.
No new information about a fix/update/solution????
Regards,
Andreas -
Internet Explorer ActiveX control problems
I want to use the IE4 ActiveX control to launch some web apps from a Forte
app.
The error I'm getting is:
USER ERROR: The ActiveX Control Class supplied by the application is named
'InternetExplorer' and has a CLASSID of
'{0002DF01-0000-0000-C000-000000000046}'. This does not match the OLE
object
embedded within the OLEField which is named 'Shell.Explorer.2' and has a
CLASSID of '{8856F961-340A-11D0-A96B-00C04FD705A2}'.
These are the steps I took to get the ActiveX control into the app.
1. olegen -it shdocvw.dll -of shdocvw.pex
2. Imported shdocvw.pex.
3. Fixed comile errors - had to delete some attributes and comment out
references to those attributes to get it to compile.
4. In Window Manager - added a new ActiveX field.
Attribute name = IE4ActiveX
Mapped Type = ShDocVw.InternetExplorer
5. Display method code:
self.Open();
event loop
when task.Shutdown do
exit;
when <launchBtn>.Click do
self.<IE4ActiveX>.oleobjectvalue =
myInternetExplorer;
myInternetExplorer.Navigate( URL =
'www.forte.com',Flags = NIL,TargetFrameName = NIL,PostData = NIL,Headers =
NIL,_result = NIL);
when <exitBtn>.Click do
exit;
end event;
self
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>Update to 8.0.2, please.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"Soc4me3" <[email protected]> wrote in
message
news:eiedp1$hik$[email protected]..
> Hi,
> I have a website with a members area and login and had
it working
> perfectly
> until my friend told me he could not access it from his
new Internet
> Explorer
> 7.0. When he logs in it just tells him he is not putting
in the right
> password
> but if he does it on my internet explorer it works. Can
someone help me
> fix
> this major problem. Thanks.
> -Chris
> -
Acrobat Reader Versions and saveAs, exportXFAdata Problems
We use generate Forms with Reader Extension Save enabled.
The forms are then opened within Acrobat Reader. In the onClose Event a Script called "saveXMLData" is called. This script is install in the javascript folder of the reader installation.
The script :
var saveXMLData = app.trustedFunction(function(doc)
app.beginPriv();
doc.saveAs({cPath:"/c/windows/temp/savedForm.pdf",
bCopy: true,
bPromptToOverwrite: false });
doc.exportXFAData({
cPath:"/c/windows/temp/savedForm.xml",
bXDP:false
app.endPriv();
return;
Using Acrobat Reader 7, eveything worked fine.
Using Acrobat Reader 9 "saveAs" crashes the Application after the document is saved and the filled in Data is not saved.
Without the saveAs function, at least the export File is generate but the data that where filled in are missing.
Using Acrobat Reader X "saveAs" crashes the Application as well. Leavin out the saveAs function, the export File is generated as expected. Thus the filled in data values are saved.
Using Acrobat X Pro everything works as with Acrobat Reader 7.
Our Problem is that the customer uses Acrobat Reader 9. Are there expected incompatibilities with the different versions. Does anybody know any workarounds, settings?
By the way disabling extended security does not help.
Thanks
MaxIt cannot be a problem of the installation, because at least Windows 7
was a fresh install with nothing but Reader additionally installed.
By the way, what do you mean by "risky", I followed straight the
documentation from Adobe, where one is allowed to place function calls
requiring a privileged context.
Have you any better idea where to place the call to save? It must be
called automatically, when the User closes the window, no additional
interaction is possible.
One other thing is the call to exportXFAData, have you any idea why
there is a difference in behavior between reader version 7 / 10 and 9?
I wrote that in version 9 the user entered data is missing.
Am Donnerstag, den 21.07.2011, 05:53 -0600 schrieb try67:
No, it doesn't work.
Sorry, I don't have any ideas except for trying to repair the installation
of Reader.
However, placing code in the WillClose event is considered risky and should
be avoided if there are alternatives available.
> -
When I Generate Primary Layout and View Results I get my
project in a browser (IE7) and a message telling me that IE has
restricted the webpage from running scripts or ActiveX controls. I
have to Allow Blocked Content to see my finished product properly.
I am using the BeautifulVistas-WH-Generic skin, but I don't
see that until I Allow Blocked Content. Prior to that, I see a more
generic looking skin. All add-ins are enabled, and my security
settings are set to low. How can I avoid this?Sounds like you are viewing webhelp locally without Mark of
the Web inserted. That will not happen to the end users as they
will view the help from a server.
You can either add MOTW or set IE to allow the blocked
content if you want to view it locally. -
Acrobat Reader X / 10 - javascript console problem / crash
Hi,
I develop adobe interactive forms and need javascript console badly!
My system:
Windows XP Prof.
Acrobat Reader 10 (free)
Internet Explorer 8
Adobe Livecycle Designer ES 9 (latest version)
The javascript console works just fine if I start an adobe form "native" = with Acrobat Reader X directly.
But if I use Adobe Livecycle Designer (latest version) [the issue also described here], the console just crashes / disappears right after it started.
The same happens if I open the pdf-file (adobe interactive form) with Internet Explorer.
E.G:
- When using Acrobat Reader "native":
console will open up on javascript syntax errors or by klicking a button ( javascript = console.show(); )
- When using Internet Explorer or Adobe Livecycle Designer:
the same pdf file cannot view the javascript console. it just "disappears immideatly" / crashes
There is any technical support for Acrobat Reader expect this forum - so I was told when I called adobe hotline.
I hope anyone could actually help me here.Hi,
Don't open the console just the reader application. and then open the console from your script as you do.
I have noticed in the past that sometimes the console appears for a very short period of time and then vanishes and this appears to be caused by the console window being associated with the open Adobe Reader application ( when it has no documents open) rather than the open PDF file in the preview or browser.
Just a thought
Malcolm -
Acrobat Reader 8.1.1 - install problem
I'm trying to install the Mars acrobat 8 plug-in, but the
installer is telling me that I need to install the reader 8.1.0
I have the Acrobat Reader 8.1.1 install, isn't this version
supported?
Thanks in advanced,
Nelson BatistaThere's already a post by JBannon123 on this topic, but I can
only see it if I'm not logged in. -
Microsoft Word Templates and ActiveX Control Problems
Hi,
I am experiencing a strange problem in Microsoft Word. I am writing a VBA application which displays a cwgraph in a form. If I add the graph to a form in the Normal.dot template the control is fine. If I add the graph to a form in a new template (where all my code is) the graph displays evaluation copy. The graph in the Normal.dot template is fine and displays without the licensing information and in the properties it displays the correct licence code etc.
Has anyone experienced this before and got any suggestions.
Thanks in advance.
Regards.
JoeJon.
Thanks for the reply. I have already run the license fixer utility and it does not locate any broken licenses. I have also uninstalled everything and deleted cwui.ocx in System32, then reinstalled and tried again. The strange thing is that it works in Visual Basic standalone, in the normal.dot template in Word. It just doesn't work in a different template file.
Thanks.
Joe -
ActiveX control Problem with Froms 6.0.8.11.3
Hi,
I am using Oracle Forms 6.0.8.11.3 version on windows XP.
I am inserting the activex object in the layout and when runing the form the object is not shown.
After that when i am checking in the design (FMB) file the object is not shown and asking me to reinsert the object.
Can any body guide me on this? Is there any bugs are there related to this ?
Thank you
GouriYup - Sounds like 593051 which is to do with the licence information used by the ActiveX not being correctly stored with the control. This is fixed in 6.0.8.15.1
-
Problem with printing from Acrobat Reader XI
SInce I installed Acrobat Reader XI I have got problems with printing out pages. The text starts a bit down (2 cm) on the paper, resulting that the last part of the text on the page will be missing. And the missing part does not follow on page 2, it just don´t comes out!
It doesn´t matter what settings i click in on the print setting page in Acrobat Reader, it always gets the same result.
Does anyone know what can be the problem?No files appeared in C:\Users\Pavilion\AppData\Roaming\Adobe\Adobe PDF\Settings but they did appear in Distiller.
I tried to copied them from C:\Program Files (x86)\Adobe\Acrobat 11.0\Acrobat\Settings, but found they were already there. I copied them by adding -COPY before .joboptions in the name. Now they appeared in Printing Preferences with the -COPY added.
I tested a print from Word (using File / Print), but was not prompted for the filename or location. I checked my entire system and couldn't find the PDF file anywhere. I tried changing the Port to Desktop\*.pdf using Printer Properties, but that didn't work either.
I was able to successfully use the Acrobat menu item in Word & Excel to create a PDF but it automatically created the file on the Desktop without an option to change the filename.
After several days and hours, I gave up and installed Acrobat X on the W7 computer. I can still use Acrobat XI on the W8 computer. So be it!
Thanks anyway for your attempts to help. -
Aufruf des Acrobat Reader per Shell (VB6)
Hallo,<br /><br />ich möchte aus einem VB-Programm heraus den Acrobat Reader öffnen, um ein pdf-Dokument anzuzeigen, und zwar mit: shell <Acro-Pfad> <Dok-Pfad>, vbNormalFokus. <br />Das funktioniert auch aus dem Visual Studio heraus einwandfrei! <br />Wenn ich allerdings eine exe erstelle und die dann ausführe kommt folgende Fehlermeldung des Reader: 'Acrobat Reader x.y hat ein Problem festgestellt und muss beendet werden'. <br />Erweitert:<br />AppName: acrord32.exe <br />AppVer: 6.0.1.1091 <br />ModName: acrord32.exe<br />ModVer: 6.0.1.1091 <br />Offset: 000264e5.<br />Dabei ist es egal, welche Reader-Version ich verwende. <br />Ansonsten kann ich den Reader öffnen, auch mit einem Dokument, welches ich ihm aus dem Programm heraus übergebe. Alles funktioniert, bis auf eben den Aufruf aus der exe heraus selbst!<br />Ich habe es auch schon in allen erdenklichen Kombinationen mit Installation, Deinstallation, Neustart, etc probiert.<br /><br />Für Anregungen jeder Art bin ich sehr dankbar.<br /><br />mfg Axel
Hi Rainer,
wir haben ein ActiveX Control entwickelt, mit welchem beliebige PDF Dokumente auf einem programmatisch wählbaren Drucker ausgegeben werden können.
Online-Demonstration und Demo-Version sind unter http://www.pdfprintcontroller.com verfügbar.
Viele Grüße
Micha
[hinkel:stone]
Technology Consulting
Software and Web Development
Client/Server Technologies
E-Mail: mhi(at)hinkelstone(dot)com
http://www.hinkelstone.com
http://www.jread.org -
Acrobat Reader XI fail to open file from unc path "Access Denied"
Hi,
When we try to open a pdf file from an unc path by double-click on it there is an error message : "There was error opening this files. Access Denied"
If we do "File -> Open" the file open correctly. Same if we copy the file localy.
After looking around Internet and other thread Acrobat Reader X got the same problem but seemed to be resolved with an update.
If we desable "Enable Protected Mode at startup" the file open correctly (it is not a solution).
Does anyone have a solution to this problem ?
OS : Windows XP SP3
Acrobat Reader : 11.0.2
Regards,I have also seen this occur with one user's computer. Another user with similar privileges and software setup does not exhibit the same issue however. Would love Adobe to investigate and address this issue.
-
Hi ~~
As the topic, My customers using Acrobat Reader XI Can't open My Pdf file,
But, same file can be opened properly in Acrobat Reader X,
Acrobat Reader XI shows Error Message: Can't Capture Embeded Font
Is there any update of Acrobat Reader XI can fix this problem? pdf file sample: https://www.dropbox.com/s/68t63gz85ux3v5z/AAAAA.pdfHey jameswangtw,
Please ask your customer try downloading Asian Language Pack for Adobe Reader from the link given below:
Adobe - Adobe Reader : For Windows : Adobe Reader 11.0.09 Font Packs - Asian and Extended Language Pack
Regards,
Anubha -
Printing freezes Acrobat Reader various versions
I have one (luckily, just one) client who has a problem printing from Acrobat Reader. So far, this problem has been with v6.x, v7.x, and v9.x (uninstalled 6.x, installed and uninstalled 7.x, and then installed 9.x, trying to solve this issue, with no changes).
For the longest time, there was NO problem printing PDF files. Then, she couldn't print at all, it would bring up an error message. I read where setting/changing the default printer would solve this, and it did -- to a point.
Now, when she tries to print (FILE | PRINT -- read below as to why this is necessary), it will print, but the printer dialog box takes a LONG time to come up (3-5 minutes) and then the drop down menu to select a printer takes a long time to come up, as well.
She travels between various offices, which is why she must use FILE | PRINT -- she needs to choose the printer(s) that are available to her when she logs into the network. There are HP, Cannon, Lexmark, and other printers at these various locations.
The problem *only* happens in Acrobat Reader. All of the other applications print fine.
Today, I discovered something interesting by accident. If she is *disconnected* from a network, and starts a print job (again, FILE | PRINT), the printer dialog box opens almost immediately, as does the printer selection drop-down menu. She can then reconnect to the network, after selecting a printer, and then press OK (to print), at which time it does print just fine.
So, in a nutshell:
(1) It *only* happens when trying to print something from Acrobat Reader regardless of version.
(2) It is *only* slow to bring up the printer dialog box, and printer selection drop-down menu when connected to a network.
(3) It *will* eventually (say 3-5 minutes later) bring up the printer dialog box, and printer selection drop-down menu, and print, when connected to a network.
(4) She is using Windows XP (I didnt check on the service pack version, it is, for certain SP2 at least, although she may have allowed Windows Updates to upgrade it to SP3). Multiple printers are being used, from various vendors (HP, Lexmark, Canon, others) so it is extremely unlikely that it is a printer driver issue.
(5) There are others with identical laptops, Windows XP, and using the same printers and Acrobat Reader who also travel to the same offices and work in the same fashion as she, and they do not have this issue.
So, anyone out there smarter than me, any suggestions about how to resolve this?Hi, I found this to work
open cmd
type the following and press enter after each command:
c:
cd\
del arc*.tmp /S
What the command does is that it deletes acrobat temp files that are stored on your pc, which slows down acrobat printing.
I found this info at http://kb2.adobe.com/cps/403/kb403914.html towards the bottom of the page
Hope it helps -
Difference between opening pdf in IE and from Acrobat Reader?
What is the difference between opening a pdf straight from a link in IE and going file open in Acrobat Reader, does one use the settings in IE and one use the settings in Acrobat Reader? I have a problem with some files on a company website which take a very long time to download when you click on them to open from IE but when they are saved to disk and then opened they are fine?
Using Acrobat Reader 9.0 with windows XP SP2
PS opening the file from the website works find with Adobe Acrobat 8 but not with 9.....Not sure about the exact differences but loading pdf files to view in a browser seems to have a high overhead (as in memory required to load and display the file). For that reason I prefer to view all pdf's in the reader. It's just quicker to load and smoother when scrolling to read.
Simon
Maybe you are looking for
-
No wireless access with Windows XP Pro (SP2) on Macbook Pro
Hello, Just installed Windows XP Pro (SP2) on my new Macbook Pro using Bootcamp Beta. The installation has gone fine with the exception of wireless access to the internet through my Airport home network. I've tried all the other configuraton wizards
-
Deploy java components error in NW7.4 installation
Hi Experts, I am installing NW 7.4, i have done all the pre-installation steps but i am getting error at deploy java components. please find the log. please help me in this it is very urgent. I need your experience. An error occurred while processing
-
New SMS text not going directly to address book
In my messages folder, when I select "Compose SMS Text" the options are limited to Phone or Email, and not my address book. I did not change any settings, this just appeared out of the blue. Could anyone here help? Solved! Go to Solution.
-
So I did the upgrade version of Lightroom 5 from 4. I did the catalog transfer to move all of my images over from lightroom 4 to 5. But now when I click on any of my old images (from a lightroom 4 catalog) in lightroom 5, I get an error message tha
-
How to skip the fact table /BI0/9AEDFC01 error while import phase in Heterogeneous migration
Hi. Please find the below issue of the fact table while import phase in OS/DB migration and enclosed the below log for reference. /usr/sap/AQ2/SYS/exe/uc/linuxx86_64/R3load: START OF LOG: 20140924185259 /usr/sap/AQ2/SYS/exe/uc/linuxx86_64/R3load: