Connecting Tech Pros Worldwide Help | Site Map

javascript ActiveX help

 
LinkBack Thread Tools Search this Thread
  #1  
Old February 10th, 2006, 12:05 AM
Lans Redmond
Guest
 
Posts: n/a
Default javascript ActiveX help

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, 10:25 AM
VK
Guest
 
Posts: n/a
Default 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 10th, 2006, 11:25 PM
Lans Redmond
Guest
 
Posts: n/a
Default 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]


 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.