FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Win10 2004 update kills Acro activex functionality (solved)
Posts: 53
Joined: Wed Aug 06, 2008 05:27 PM
Win10 2004 update kills Acro activex functionality (solved)
Posted: Wed Jun 03, 2020 08:36 PM
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 (fw): Select all Collapse
// 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

Boris (FWH 20.07, xHarbour 1.2.3, Harbour 3.2.0, BCC74, MySql 5.7)
Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: Win10 2004 update kills some Acro activex functionality ...
Posted: Wed Jun 03, 2020 11:15 PM
Seems working ok ( Windows 10 - 2004 )

Cristobal Navarro

Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo

El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Win10 2004 update kills some Acro activex functionality ...
Posted: Thu Jun 04, 2020 08:47 AM

It doesn't print here (Windows 10 Pro 2004). The print button also doesn't work.

EMG

Posts: 53
Joined: Wed Aug 06, 2008 05:27 PM
Re: Win10 2004 update kills some Acro activex functionality ...
Posted: Thu Jun 04, 2020 08:21 PM

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)
Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: Win10 2004 update kills some Acro activex functionality ...
Posted: Thu Jun 04, 2020 08:26 PM

Windows 10 - Pro 2004
Fivewin 20.04
Acrobat Reader 2020.009.20067

Cristobal Navarro

Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo

El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Win10 2004 update kills some Acro activex functionality ...
Posted: Thu Jun 04, 2020 09:10 PM
cnavarro wrote:Windows 10 - Pro 2004
Fivewin 20.04
Acrobat Reader 2020.009.20067


Just the same here.

EMG
Posts: 53
Joined: Wed Aug 06, 2008 05:27 PM
Re: Win10 2004 update kills some Acro activex functionality ...
Posted: Thu Jun 04, 2020 10:18 PM

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)
Posts: 53
Joined: Wed Aug 06, 2008 05:27 PM
Re: Win10 2004 update kills some Acro activex functionality ...
Posted: Mon Jun 08, 2020 08:00 AM

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)
Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: Win10 2004 update kills Acro activex functionality (solved)
Posted: Mon Jun 08, 2020 08:03 AM

Boris, very good

Cristobal Navarro

Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo

El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Win10 2004 update kills Acro activex functionality (solved)
Posted: Mon Jun 08, 2020 08:12 AM

Great, thank you for sharing!

EMG

Continue the discussion