Click here to Skip to main content
15,886,067 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
Hi all,

Please help me with your valuable guidence.

  1. I have done a web application which is hosted on our web server and is even accessable via internet for everyone.
  2. Once user opens the web site, the user will be prompted to enter the range of IP address to query the n/w for indentifying the avaible printers.
  3. Once after identifying the printers on the web page a list of suitable updated drivers will be displayed and he can download & install them as wanted.

Now to perform point 2. I thought to have an ActiveX component which will be installed on the user PC when he visits the web site. Please suggest me how to proceed with ActiveX component & install it via IE?

Or else if you feel that there is better option other than ActiveX component to get the required information from end user, then please let me know.

To summarise I need ur help for below questions..

1.How to install ActiveX component(here C#.net dll is exposed as COM) via IE on client machines?
2.Any other procedure/way other AcitveX component to query in user machine via IE?


Please share you thoughts & guide me.

Thanks,
Balu
Posted
Updated 25-Apr-11 3:40am
v3
Comments
Manfred Rudolf Bihy 25-Apr-11 4:52am    
Edit: Formatting, spelling and grammar.

1 solution

While you can use ActiveX quite effectively to do this, I'd ask you to reconsider writing it in C#. With ActiveX in C#, you maybe requiring the end user to download the .NET framework to run on their machine in order to run your control.

Potentially, another approach may be to use an HTA (HTML Application) and a JavaScript query hitting the WMI services. You can find details on WMI here[^].
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900