Hello forum,
I am fairly inexperienced with web development and would like to make a simple label maker for my companies intranet site. The site needs to have the functionality to send a webpage to the printer using customized page settings looking into using an ActiveX component to do this.
I have followed this article on how to create an ActiveX control in C#. [url]http://dotnetslackers.com/articles/csharp/WritingAnActiveXControlInCSharp.aspx
I have placed the example HTML on our companies intranet site.
Browsing to the website on the webserver, everything works fine and is just what I am after.
If I go to another computer in the company and browse to the website in Internet Explorer, I get the following script error..
[B]Automation server can’t create object
on line
[CODE]var x = new ActiveXObject(“ANamespace.AClass”);
This makes sense to me because the computer doesn’t have the activex object installed.
What I was hoping is that, internet explorer would ask the user to download the ActiveX object, and run my print code.
I am not sure the direction I need to go and am looking for some advice
Thanks