从ASPNET客户端进行COM端口访问 [英] COM Port Access from ASPNET Client

查看:51
本文介绍了从ASPNET客户端进行COM端口访问的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个Web应用程序,该程序需要将条码扫描仪(使用COM端口)连接到客户端计算机.我需要有关如何实施客户端脚本以将数据从扫描仪读取到网页上文本框中的帮助

I''m developing a web application that requires Barcode Scanner (using COM port) to be attached to the client machine. I need help on how to implement Client side Script to read data from the scanner to a text box on the web page

推荐答案

1)您的浏览器安全性必须设置为低
2)应该在页面(C#)中将完全信任"属性设置为true.
2)从JavaScript调用您的Barcode Scanner API函数,将结果设置为文本框.

该链接可以帮助您了解如何从javascript调用API函数.

http://wiki.developer.myspace.com/index.php?title=Introductory_Applications [ ^

如果有帮助,请标记为答案...
1) your browser security must be set to low
2) Full Trust attribute should be set to true, in your page (C#).
2) Call your Barcode Scanner API functions from JavaScript, set the result to textbox.

the link my help you for how to call API function from javascript.

http://wiki.developer.myspace.com/index.php?title=Introductory_Applications[^

mark as answer if helps you a little...


这篇关于从ASPNET客户端进行COM端口访问的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆