I'm being forced to use Adobe Reader!

The PDF-XChange Viewer for End Users
+++ FREE +++

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Paul - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

Tim.Carter
User
Posts: 2
Joined: Tue Jun 14, 2011 12:05 pm

I'm being forced to use Adobe Reader!

Post by Tim.Carter »

Hi Guys,

I have been using PDF Xchange Viewer myself for a while now, but I am in the process of trialling it on our company network. I have a problem with a particular website which seems to call the Adobe Reader CLSID directly and pass the file to open in a 'src' PARAM. Once I have drilled through the various loading pages and frames, the important bit seems to be:

function loadDocument(){ docSpan.innerHTML = "<OBJECT id='image' align='centre' width='100%' height='100%' classid='CLSID:CA8A9780-280D-11CF-A24D-444553540000' onmousemove='this.focus();'><PARAM name='src' value='./Stream.asp?EFD=B8DA5131557C64BD7397701B7F14CA83C4CF84A63C6E51D49AA24CDA8B88FC4F63B37EC1553A8DAD9FAE65E1C8F07E5F8AE9E7D8A5F264784DE3D14F1651AF484B30B412744C30AA077135603CBF0038F2CFA2AC9951D28FF0D49295102F484674307EE1FF9BA0EAFE2E438F878D74'></OBJECT>";}

If I just copy the bit highlighted in red above and paste it to the end of the URL, the PDF file displays in the PDF Xchange plug-in correctly.

I have tried duplicating bits of the registry from the PDF Xchange IE Plug-in and changing the CLSID to match the Adobe one above, but it is still not working. I think that I have either not got the registry bits right or that perhaps your IE Plug-in does not accept 'src' as a parameter?

Any help gratefully received as I am going to have to leave Adobe Reader in place just for this web site if I can't work around the problem.

Thanks in advance,

Tim.
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19930
Joined: Mon Jan 12, 2009 8:07 am

Re: I'm being forced to use Adobe Reader!

Post by Stefan - PDF-XChange »

Hello Tim,

I am afraid that there might be no workaround for this case but I have asked our developers for a confirmation on this.

We will post again again in the topic any news on the subject.

Best,
Stefan
Tim.Carter
User
Posts: 2
Joined: Tue Jun 14, 2011 12:05 pm

Re: I'm being forced to use Adobe Reader!

Post by Tim.Carter »

ok, thanks, I look forward to your reply.

Tim.
User avatar
Vasyl - PDF-XChange
Site Admin
Posts: 2476
Joined: Thu Jun 30, 2005 4:11 pm

Re: I'm being forced to use Adobe Reader!

Post by Vasyl - PDF-XChange »

Hi, Tim.

Please try to use:
function loadDocument(){ docSpan.innerHTML = "<OBJECT id='image' align='centre' width='100%' height='100%' classid='CLSID:C5D07EB6-BBCE-4DAE-ACBB-D13A8D28CB1F' onmousemove='this.focus();'><PARAM name='src' value='./Stream.asp?EFD=B8DA5131557C64BD7397701B7F14CA83C4CF84A63C6E51D49AA24CDA8B88FC4F63B37EC1553A8DAD9FAE65E1C8F07E5F8AE9E7D8A5F264784DE3D14F1651AF484B30B412744C30AA077135603CBF0038F2CFA2AC9951D28FF0D49295102F484674307EE1FF9BA0EAFE2E438F878D74'></OBJECT>";}

C5D07EB6-BBCE-4DAE-ACBB-D13A8D28CB1F - is CLSID of our IE-Plugin

or:

function loadDocument(){ docSpan.innerHTML = "<OBJECT id='image' align='centre' width='100%' height='100%' type='application/pdf' onmousemove='this.focus();'><PARAM name='src' value='./Stream.asp?EFD=B8DA5131557C64BD7397701B7F14CA83C4CF84A63C6E51D49AA24CDA8B88FC4F63B37EC1553A8DAD9FAE65E1C8F07E5F8AE9E7D8A5F264784DE3D14F1651AF484B30B412744C30AA077135603CBF0038F2CFA2AC9951D28FF0D49295102F484674307EE1FF9BA0EAFE2E438F878D74'></OBJECT>";}

or on the client machine add to the system registry:

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{CA8A9780-280D-11CF-A24D-444553540000}\TreatAs = {C5D07EB6-BBCE-4DAE-ACBB-D13A8D28CB1F}
Look here for details: http://msdn.microsoft.com/en-us/library ... 85%29.aspx

HTH.
PDF-XChange Co. LTD (Project Developer)

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.