activex control is not working in extranet

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am using Activex control to read the browser file system (for upload
functionality).
To load this Activex control i am calling the function which is in jscript
file like below.

function ShowOldSecureUploaderA(DivID)
{
var d = document.getElementById(DivID);
d.innerHTML = '<object id="PCUpload" style="LEFT: 0px; WIDTH: 369px; TOP:
-1px; HEIGHT: 180px" codebase="/dll/PCUpload.CAB#version=4,9,0,7"
classid="CLSID:C5432542-213E-4513-9093-F2A538D2916B" >
<param NAME="_ExtentX" VALUE="9763">
<param NAME="_ExtentY" VALUE="5741">
</object>';
}

This is working when tested in intranet and not working in extranet.

If I am writing the object directly in asp page itself it is working fine
in extranet also.


Any ideas why this may be???
 
Hi Damodar,

try something like this

document.body.insertAdjacentHTML("beforeEnd", "<object id=\"MyActiveX\"
classid=\"CLSID: etc........\"></object>")

The \" is java quotation string in the string literal.

Regards. No guarantees.
 
Back
Top