Skip to main content

Hi,

We use Uniface 9.7.03 for development and since lately we cannot view a pdf document.

We used OCXContainer to get the pdf document:


$ocxhandle$ = $ocxhandle("content.dummy")
if ($pdf_url$ != "")
$ocxhandle$->set_src($pdf_url$)
elseif ($pdf_location$ != "")
$ocxhandle$->loadfile($1, $pdf_location$)
endif
$ocxhandle$->setshowtoolbar(0)


After executing first line,  next error occured:

ICCDRV-COM-ERR Error with ICC system occurred, Unable to get COM type information for COM class "AcroPDF.PDF.1": COM error 0x8002802b, described as "Kan element niet vinden." (ICC system status: ←2147319765>)"

Why is this happens? And is there a solution?

kindly regards,

Erhan


Hi,

We use Uniface 9.7.03 for development and since lately we cannot view a pdf document.

We used OCXContainer to get the pdf document:


$ocxhandle$ = $ocxhandle("content.dummy")
if ($pdf_url$ != "")
$ocxhandle$->set_src($pdf_url$)
elseif ($pdf_location$ != "")
$ocxhandle$->loadfile($1, $pdf_location$)
endif
$ocxhandle$->setshowtoolbar(0)


After executing first line,  next error occured:

ICCDRV-COM-ERR Error with ICC system occurred, Unable to get COM type information for COM class "AcroPDF.PDF.1": COM error 0x8002802b, described as "Kan element niet vinden." (ICC system status: ←2147319765>)"

Why is this happens? And is there a solution?

kindly regards,

Erhan


Hi Erhan,

Can you use the HTML widget? You can also view a PDF file in this widget, which should be simpler than using a COM component.

Gilles.


Hi Erhan,

Can you use the HTML widget? You can also view a PDF file in this widget, which should be simpler than using a COM component.

Gilles.

I can use HTM widget, which operation to use?

Do you have a examlple for  me?