I want to Create an activeX using C# and Use this ActiveX with Javascript using the method new ActiveXObject.

Please, I will be grateful if someone give me a simple example with Csharp to verify this possibility with JavaScript.