M
Mikael Svenson
I have managed to make an ActiveX component in C#, and I've made
refrenced it with
<object classid="CLSID:4606E9A6-F60D-4623-8892-DABE54E05282" height="10"
id="EventTester" width="10" viewastext></object>
which works just fine.
(I have specified the guid for the class, interface and assembly, and
have it strongly named)
The problem is that the component is unsigned, and requires the user to
accept it.
My question is, how can I make a component which I can reference from a
html page without needing the user to accept it.
The component will be installed on the client machine with an installer.
With C++ and regsvr32 this works just fine. You set your object tag once
it's registered and you're ready to go, but this don't seem to be the
case with .Net components.
Say I want to make a DLL which returns the Windows Version or something
with a string property.
<javascript>
alert( EventTester.Version );
</javascript>
And there is some code in the C# class which returns this.
Any help on the matter would be appreciated. I have googled quite a lot
already on this
Regards,
Mikael Svenson
refrenced it with
<object classid="CLSID:4606E9A6-F60D-4623-8892-DABE54E05282" height="10"
id="EventTester" width="10" viewastext></object>
which works just fine.
(I have specified the guid for the class, interface and assembly, and
have it strongly named)
The problem is that the component is unsigned, and requires the user to
accept it.
My question is, how can I make a component which I can reference from a
html page without needing the user to accept it.
The component will be installed on the client machine with an installer.
With C++ and regsvr32 this works just fine. You set your object tag once
it's registered and you're ready to go, but this don't seem to be the
case with .Net components.
Say I want to make a DLL which returns the Windows Version or something
with a string property.
<javascript>
alert( EventTester.Version );
</javascript>
And there is some code in the C# class which returns this.
Any help on the matter would be appreciated. I have googled quite a lot
already on this
Regards,
Mikael Svenson