Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: IE7 C# ASP.NET COM ActiveX
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 24-Apr-11 23:32pm
Edited 25-Apr-11 4:40am
v3
Comments
Manfred R. Bihy at 25-Apr-11 4:52am
   
Edit: Formatting, spelling and grammar.

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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[^].
  Permalink  

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



Advertise | Privacy | Mobile
Web03 | 2.8.1411022.1 | Last Updated 25 Apr 2011
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100