Connecting Tech Pros Worldwide Help | Site Map

javascript ActiveX help

  #1  
Old February 10th, 2006, 01:05 AM
Lans Redmond
Guest
 
Posts: n/a
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>


  #2  
Old February 10th, 2006, 11:25 AM
VK
Guest
 
Posts: n/a

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.

  #3  
Old February 11th, 2006, 12:25 AM
Lans Redmond
Guest
 
Posts: n/a

re: javascript ActiveX help


Verisign
"VK" <schools_ring@yahoo.com> wrote in message
news:1139570179.878522.201600@z14g2000cwz.googlegr oups.com...[color=blue]
>
> Lans Redmond wrote:[color=green]
>> 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.
>[/color]


Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
ActiveX by using javascript help shoram answers 17 August 6th, 2007 11:21 AM
External Javascript to activate activex control punchbag answers 5 May 3rd, 2006 01:03 PM
ActiveX help Rob T answers 7 November 21st, 2005 11:13 AM
ActiveX help Rob T answers 7 November 19th, 2005 04:08 AM