Page 1 of 1

Win10 2004 update kills Acro activex functionality (solved)

Posted: Wed Jun 03, 2020 8:36 pm
by bosibila
Hello everybody,
I'm asking for help with this bug. Does anyone has experienced shutting down of some Acrobat activex functions (oActivex:Do("PrintWithDialog") and oActivex:Do("Print"))? After Win10 2004 update those two functions are disabled. Maybe is fault in my old FWH version (11.08) so I would beg for help someone who has last version to compile this sample. To start sample: copy some PDF file to "test.pdf" and compile pdf.prg. After start PDF.EXE aplication must open window with test.pdf and then open Acrobat dialog. Please to write me your results, thanks ...

Boris

Code: Select all

// FiveWin ActiveX support demo - Using Adobe Acrobat Reader

#include "FiveWin.ch"

function Main()

   local oWnd, oActiveX

   DEFINE WINDOW oWnd TITLE "FiveWin ActiveX Support"

   oActiveX = TActiveX():New( oWnd, "AcroPDF.PDF.1" ) // Use "AcroPDF.PDF.1" for Acrobat Reader 7 

   oWnd:oClient = oActiveX    // To fill the entire window surface

   oActiveX:Do( "LoadFile", "test.pdf" )
   oActiveX:Do( "SetCurrentPage", 1 )
   oActivex:Do("PrintWithDialog") 

   ACTIVATE WINDOW oWnd

return nil
 
Image

Re: Win10 2004 update kills some Acro activex functionality ...

Posted: Wed Jun 03, 2020 11:15 pm
by cnavarro
Seems working ok ( Windows 10 - 2004 )

Image

Re: Win10 2004 update kills some Acro activex functionality ...

Posted: Thu Jun 04, 2020 8:47 am
by Enrico Maria Giordano
It doesn't print here (Windows 10 Pro 2004). The print button also doesn't work.

EMG

Re: Win10 2004 update kills some Acro activex functionality ...

Posted: Thu Jun 04, 2020 8:21 pm
by bosibila
Thanks mr. Navarro and mr. Enrico,
can you send me your version of Fivewin, compiler and Acrobat reader?

Re: Win10 2004 update kills some Acro activex functionality ...

Posted: Thu Jun 04, 2020 8:26 pm
by cnavarro
Windows 10 - Pro 2004
Fivewin 20.04
Acrobat Reader 2020.009.20067

Re: Win10 2004 update kills some Acro activex functionality ...

Posted: Thu Jun 04, 2020 9:10 pm
by Enrico Maria Giordano
cnavarro wrote:Windows 10 - Pro 2004
Fivewin 20.04
Acrobat Reader 2020.009.20067
Just the same here.

EMG

Re: Win10 2004 update kills some Acro activex functionality ...

Posted: Thu Jun 04, 2020 10:18 pm
by bosibila
Thanks guys, unfortunately I'm at the beginning again. I thought upgrading to the new version would solve the problem.

Re: Win10 2004 update kills some Acro activex functionality ...

Posted: Mon Jun 08, 2020 8:00 am
by bosibila
Yesterday I found solution:
Acrobat Reader -> Edit -> Preferences -> Security (Enhanced) -> Enable Protected Mode at startup (uncheck).

Re: Win10 2004 update kills Acro activex functionality (solved)

Posted: Mon Jun 08, 2020 8:03 am
by cnavarro
Boris, very good

Re: Win10 2004 update kills Acro activex functionality (solved)

Posted: Mon Jun 08, 2020 8:12 am
by Enrico Maria Giordano
Great, thank you for sharing!

EMG