PC Question

  • Thread starter Thread starter Brad Markisohn
  • Start date Start date
B

Brad Markisohn

I'm not sure if this is the correct newsgroup to post this in, but...Is
there a way, using ASP.Net, to directly interface with a USB HID device
connected to a PC via Internet Explorer? If I'm posting this in the wrong
place, could somebody point me to a group where the question should be
posted?

TIA

Brad
 
ASPNET is a server-side scripting language. If you want to use the USB
device on the client, you'll need to put an ActiveX control on the page.

--
Thanks,

Eric Lawrence
Program Manager
Assistance and Worldwide Services

This posting is provided "AS IS" with no warranties, and confers no rights.
 
Eric,

Thanks for the response. I am just starting with ASP.Net and I have a few
additional questions. Won't the ActiveX control need to be registered on
the host PC? If so, can this be automated as part of starting up the page?
Is there any way to create an ActiveX control in .Net? Finally, can you
point me to an example of an ASP.Net application with an ActiveX control on
the page?

TIA

Brad
 
ActiveX controls are embedded in web pages via an <OBJECT> tag in the HTML,
and run on the client browser.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
 
Thanks for Eirc and Kevin's suggestions.


Hi Brad,

Here are some further suggestions on ACTIVEX with .NET:
* I noticed that you asked about creating ActiveX controls in .NET.
You can create a .NET component and add a COM wrapper. Then it can work in
IE as though it was an ActiveX component. However, this requires that EACH
end user who browses the page have the .NET framework installed. Some
alternative options are to use Visual Basic 6.0 or Visual C++ 6.0 which can
create ActiveX controls.

* Registering the control on the host and the client.
If you "use" the control on the host, then it needs to be registered on the
host server. If the server does not use it, but merely passes it to clients
for them to use it, then it does not need to be registered on the server.
Regarding the client, when the browser uses the object tag to create an
instance of the ActiveX control, it will register the control on the client.


you can also reference some ActiveX in HTML examples.

http://msdn.microsoft.com/downloads/samples/internet/imedia/netshow/simpleem
bed/default.asp
http://msdn.microsoft.com/library/en-us/vccore98/html/_core_upgrading_an_exi
sting_activex_control_to_be_used_on_the_internet.asp
http://msdn.microsoft.com/library/en-us/vccore98/html/_core_internet_first_s
teps.3a_.activex_controls.asp

Hope these helpful.



Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx
 
Back
Top