Reputation: 332
I'm using the ActiveX Adobe PDF Viewer Control (AxAcroPDFLib.AxAcroPDF) from Adobe Reader XI.
I load the PDF File with axAcroPDF1.LoadFile(_pdffile);
Everything works well in VisualStudio with debugger. But when I start the compiled EXE file, no PDF opens. Also tried with Administrator privileges. The area of the control is grey and after a while the error message
There is a problem with Adobe Acrobat/Reader. If it is running, please exit and try again. (103:103)
appears. I tried to disable the 'Protected Mode at startup' and I reinstalled Adobe Reader. But doesn't work!
How can I fix this?
Upvotes: 4
Views: 2275
Reputation: 197
I had the same problem with my application and this worked for me:
Go to Adobe=>Edit=>Preferences=>Security(Enhanced)
Uncheck both "Enable protected mode at startup" and "Enable Enhanced Security"
Thats it! Hope it works for you/other in the future.
Upvotes: 0