Solved

Using SilverLight to communicate to a USB device from browser

Posted on 2008-06-15
2
2,127 Views
Last Modified: 2013-11-12
Hi Experts,
We have a ASPNET web application and now we have a new request: the client wants to communicate with their USB device using our application. They plug the device into their PCs, open a page of our web application and the page will communicate with the device to get some input. Of course the device must already have proper driver. Comunication here means reading some input from the device.

Someone said that we can use JAVA to do this. However, I also want to know if we can do this using Silver Light? Can someone give me a guide or a link which tells me how to do?

Thank you for reading.
0
Comment
Question by:thuannguy
2 Comments
 
LVL 6

Accepted Solution

by:
apb2 earned 500 total points
ID: 21793192
Hi thuannguy

This is an interesting question. Off the top of my head i would say this isn't possible under the current sandbox enviroment. I for one wouldn't like a web site to have the capabilities of connecting to a device, witout some clear authorization.

I would look at creating an Xbap, the user can authorise the application to have greater permissions to gain connectivity to your usb device.

a usb device, like a camera, you will be able to upload files from this device use FileOpenDialog.
http://vivekdalvi.wordpress.com/2007/06/01/safe-file-open-dialog/

Like i said i haven't had a look into this and someone could prove me wrong.

hth

apb2
0
 
LVL 6

Author Comment

by:thuannguy
ID: 21890822
Hi,
After learning a bit about silver light, I found out that it doesn't allow us to access to higher security zones, and the local pc is counted as a zone. The safe-file-open may be the only one feature which allow us to upload file.
Anyway, thank for you help.
0

Featured Post

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tutorial is about how to put some of your C++ program's functionality into a standard DLL, and how to make working with the EXE and the DLL simple and seamless.   We'll be using Microsoft Visual Studio 2008 and we will cut out the noise; that i…
This article describes how to programmatically preset the "Pages per Sheet" option that's available with most printer drivers.   This setting lets you do "n-Up" printing, where two, four, or more pages are printed on each sheet of paper. If your …
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question