Win10 2004 update kills Acro activex functionality (solved)

Post Reply
User avatar
bosibila
Posts: 53
Joined: Wed Aug 06, 2008 5:27 pm
Location: Osijek, Croatia

Win10 2004 update kills Acro activex functionality (solved)

Post 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
Last edited by bosibila on Mon Jun 08, 2020 8:00 am, edited 1 time in total.
Boris (FWH 20.07, xHarbour 1.2.3, Harbour 3.2.0, BCC74, MySql 5.7)
User avatar
cnavarro
Posts: 5792
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

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

Post by cnavarro »

Seems working ok ( Windows 10 - 2004 )

Image
C. Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
Si alguien te dice que algo no se puede hacer, recuerda que esta hablando de sus limitaciones, no de las tuyas.
User avatar
bosibila
Posts: 53
Joined: Wed Aug 06, 2008 5:27 pm
Location: Osijek, Croatia

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

Post by bosibila »

Thanks mr. Navarro and mr. Enrico,
can you send me your version of Fivewin, compiler and Acrobat reader?
Boris (FWH 20.07, xHarbour 1.2.3, Harbour 3.2.0, BCC74, MySql 5.7)
User avatar
cnavarro
Posts: 5792
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

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

Post by cnavarro »

Windows 10 - Pro 2004
Fivewin 20.04
Acrobat Reader 2020.009.20067
C. Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
Si alguien te dice que algo no se puede hacer, recuerda que esta hablando de sus limitaciones, no de las tuyas.
User avatar
bosibila
Posts: 53
Joined: Wed Aug 06, 2008 5:27 pm
Location: Osijek, Croatia

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

Post by bosibila »

Thanks guys, unfortunately I'm at the beginning again. I thought upgrading to the new version would solve the problem.
Boris (FWH 20.07, xHarbour 1.2.3, Harbour 3.2.0, BCC74, MySql 5.7)
User avatar
bosibila
Posts: 53
Joined: Wed Aug 06, 2008 5:27 pm
Location: Osijek, Croatia

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

Post by bosibila »

Yesterday I found solution:
Acrobat Reader -> Edit -> Preferences -> Security (Enhanced) -> Enable Protected Mode at startup (uncheck).
Boris (FWH 20.07, xHarbour 1.2.3, Harbour 3.2.0, BCC74, MySql 5.7)
User avatar
cnavarro
Posts: 5792
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

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

Post by cnavarro »

Boris, very good
C. Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
Si alguien te dice que algo no se puede hacer, recuerda que esta hablando de sus limitaciones, no de las tuyas.
Post Reply