Hi:
I have a DLL compiled from C# that I have to be able to use within an
HTML document. This is relatively easy to do following the suggestions
on this page:
http://www.codeproject.com/cs/miscct...wincontrol.asp
However, hardcoding the object in the HTML document itself isn't
flexible enough for my purposes. What I would really like to be able
to do is use JavaScript to create instances of the C# classes. It
looks like JScript has an ActiveXObject constructor that can be used to
instantiate ActiveX controls, but I haven't been able to get
ActiveXObject() to crate an instance of a C# class. I suppose any
class that you instantiate using ActiveXObject() has to be an ActiveX
control. Is there a way to write a C# class such that it can be
instantiated using ActiveXObject()? Or is there some other mechanism
that can essentially bind C# classes into JavaScript?
Regards,
Nick