| re: javascript ActiveX help
Lans Redmond wrote:[color=blue]
> I have the following code in a jsp page. I wrote a c#dll added it to a
> windows cabinet archive then signed the archive. The dll is also signed.
> When I try to run my program I get the following error that the object does
> not support this property or method...If I use the nee ActiveXObject then I
> get automation server cannot create object when I run from another client
> pc..but if i run it from my local box then it works...The cab file is not
> being downloaded into the browser and I have made sure all the setiings for
> my intranet and trusted site for activex has been set to enable. Any ideas
> why this would be failing with the two messages mentioned above?
>
> thanks
>
>
> <OBJECT
> ID="RisPatQueryToolX" name="RisPatQueryToolX" width="0" height="0"
> CLASSID="CLSID:8057DA46-B9F5-4806-BBBB-C209AA92665A"
> CODEBASE=" this is the http location for the cab file which contains the
> dll ......... /dqt/ToolX.cab">
> </OBJECT>
> <html>
>
> <head>
>
> <script type="text/javascript">
> function doClick()
> {
>
> var str = RisPatQueryToolX.test();
> alert("this is a jScript test");
> alert(str);
> }
>
> </script>
> <title>
> Test Window
> </title>
>
>
> </head>
> <body>
> <h1>Test</h1>
> <input type="submit" value="submit" onClick="doClick();"/>
> </body>
> </html>[/color]
What signing certificate did you use? Is self-issued then it has to be
installed on all machines. |