Win10 2004 update kills Acro activex functionality (solved)
Posted: 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
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