Win10 2004 update kills Acro activex functionality (solved)

Win10 2004 update kills Acro activex functionality (solved)

Postby bosibila » Wed Jun 03, 2020 8: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: Select all  Expand view  RUN
// 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
bosibila
 
Posts: 53
Joined: Wed Aug 06, 2008 5:27 pm
Location: Osijek, Croatia

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

Postby cnavarro » Wed Jun 03, 2020 11:15 pm

Seems working ok ( Windows 10 - 2004 )

Image
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
User avatar
cnavarro
 
Posts: 6549
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

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

Postby Enrico Maria Giordano » Thu Jun 04, 2020 8:47 am

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

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8718
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

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

Postby bosibila » Thu Jun 04, 2020 8: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)
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 ...

Postby cnavarro » Thu Jun 04, 2020 8: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
User avatar
cnavarro
 
Posts: 6549
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

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

Postby Enrico Maria Giordano » Thu Jun 04, 2020 9:10 pm

cnavarro wrote:Windows 10 - Pro 2004
Fivewin 20.04
Acrobat Reader 2020.009.20067


Just the same here.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8718
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

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

Postby bosibila » 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)
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 ...

Postby bosibila » Mon Jun 08, 2020 8: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)
User avatar
bosibila
 
Posts: 53
Joined: Wed Aug 06, 2008 5:27 pm
Location: Osijek, Croatia

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

Postby cnavarro » Mon Jun 08, 2020 8: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
User avatar
cnavarro
 
Posts: 6549
Joined: Wed Feb 15, 2012 8:25 pm
Location: España



Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: nageswaragunupudi and 87 guests