activex control is not working in extranet

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???
 
R

Rob ^_^

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top